summaryrefslogtreecommitdiff
path: root/src/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/io.c')
-rw-r--r--src/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io.c b/src/io.c
index 0b8f7c0..8c0c3b2 100644
--- a/src/io.c
+++ b/src/io.c
@@ -56,7 +56,7 @@ static CHANGE *changes, *last;
static int fd, did_change = 0;
-void fs_open(char *path, int rw)
+void fs_open(const char *path, int rw)
{
if ((fd = open(path, rw ? O_RDWR : O_RDONLY)) < 0) {
perror("open");