summaryrefslogtreecommitdiff
path: root/src/general.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/general.c')
-rw-r--r--src/general.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/general.c b/src/general.c
index a093c16..2ae90f1 100644
--- a/src/general.c
+++ b/src/general.c
@@ -13,7 +13,7 @@
* Reads size bytes into the destination buffer from filename.
*
*/
-bool slurp(char *filename, char *destination, int size) {
+bool slurp(const char *filename, char *destination, int size) {
int fd;
if ((fd = open(filename, O_RDONLY)) == -1)