summaryrefslogtreecommitdiff
path: root/inotail.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2009-01-25 15:59:59 +0100
committerTobias Klauser <tklauser@distanz.ch>2009-01-25 15:59:59 +0100
commit1410a0f20d46a64c1ca7ad23328f637a83c803ac (patch)
tree4cd2cc86d7450f9d80e2fbef21575fd4de275eea /inotail.c
parent568cd68c03d48583c959996f52972fedcf980295 (diff)
inotail.c: Macros do not set errno
Diffstat (limited to 'inotail.c')
-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;
}