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 3151830..9bb126d 100644
--- a/inotail.c
+++ b/inotail.c
@@ -526,7 +526,7 @@ static int tail_file(struct file_struct *f, unsigned long n_units, mode_t mode,
}
if (!IS_TAILABLE(finfo.st_mode)) {
- fprintf(stderr, "Error: '%s' of unsupported file type (%s)\n", f->name, strerror(errno));
+ fprintf(stderr, "Error: '%s' of unsupported file type\n", f->name);
return -1;
}