summaryrefslogtreecommitdiffstats
path: root/usr.bin/tail/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tail/misc.c')
-rw-r--r--usr.bin/tail/misc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tail/misc.c b/usr.bin/tail/misc.c
index a396fc3..8891819 100644
--- a/usr.bin/tail/misc.c
+++ b/usr.bin/tail/misc.c
@@ -51,7 +51,8 @@ static char sccsid[] = "@(#)misc.c 8.1 (Berkeley) 6/6/93";
void
ierr()
{
- err(0, "%s", fname);
+ warn("%s", fname);
+ rval = 1;
}
void
OpenPOWER on IntegriCloud