From 1410a0f20d46a64c1ca7ad23328f637a83c803ac Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Sun, 25 Jan 2009 15:59:59 +0100 Subject: inotail.c: Macros do not set errno --- inotail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3-54-g00ecf