path: root/inotail.c
diff options
authorTobias Klauser <>2007-09-07 12:25:57 +0200
committerTobias Klauser <tklauser@xenon.tklauser.home>2007-09-07 12:25:57 +0200
commit6bd2fd4980190c05ccfde6474f380082a6cfcaeb (patch)
tree24413c7b61677088ff65fc42b93ec5d3a45e105d /inotail.c
parenta86c62dd8c18d34b5a85efc5baa80224ce3cf4a4 (diff)
Also print strerror when file type is not supported
Diffstat (limited to 'inotail.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/inotail.c b/inotail.c
index 89e213c..993bd68 100644
--- a/inotail.c
+++ b/inotail.c
@@ -287,7 +287,7 @@ static int tail_file(struct file_struct *f, unsigned long n_units, char mode, ch
if (!IS_TAILABLE(finfo.st_mode)) {
- fprintf(stderr, "Error: '%s' of unsupported file type\n", f->name);
+ fprintf(stderr, "Error: '%s' of unsupported file type (%s)\n", f->name, strerror(errno));
return -1;
;: hang and lockup detection menu kconfig: consolidate printk options group locking debugging options consolidate compilation option configs consolidate runtime testing configs order memory debugging Kconfig options consolidate per-arch stack overflow debugging options
Diffstat (limited to 'arch/parisc')
2 files changed, 1 insertions, 11 deletions
diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig