summaryrefslogtreecommitdiff
path: root/tail.c
diff options
context:
space:
mode:
Diffstat (limited to 'tail.c')
-rw-r--r--tail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tail.c b/tail.c
index a9da954..308bb30 100644
--- a/tail.c
+++ b/tail.c
@@ -225,7 +225,7 @@ int tail_main(int argc, char **argv)
usage(tail_usage);
break;
default:
- errorMsg("\nUnknown arg: %c.\n\n",optopt);
+ error_msg("\nUnknown arg: %c.\n\n",optopt);
usage(tail_usage);
}
}
@@ -263,7 +263,7 @@ int tail_main(int argc, char **argv)
else
fd[test] = open(files[test], O_RDONLY);
if (fd[test] == -1)
- fatalError("Unable to open file %s.\n", files[test]);
+ error_msg_and_die("Unable to open file %s.\n", files[test]);
tail_stream(fd[test]);
bs=BUFSIZ;