summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inotail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/inotail.c b/inotail.c
index 8ff7773..db3e646 100644
--- a/inotail.c
+++ b/inotail.c
@@ -526,7 +526,7 @@ out:
return rc;
}
-static int tail_file(struct file_struct *f, unsigned long n_units, mode_t mode, char forever)
+static int tail_file(struct file_struct *f, unsigned long n_units, char mode, char forever)
{
ssize_t bytes_read = 0;
off_t offset = 0;