aboutsummaryrefslogtreecommitdiff
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 a9da95462..308bb3085 100644
--- a/tail.c
+++ b/tail.c
@@ -225,7 +225,7 @@ int tail_main(int argc, char **argv)
225 usage(tail_usage); 225 usage(tail_usage);
226 break; 226 break;
227 default: 227 default:
228 errorMsg("\nUnknown arg: %c.\n\n",optopt); 228 error_msg("\nUnknown arg: %c.\n\n",optopt);
229 usage(tail_usage); 229 usage(tail_usage);
230 } 230 }
231 } 231 }
@@ -263,7 +263,7 @@ int tail_main(int argc, char **argv)
263 else 263 else
264 fd[test] = open(files[test], O_RDONLY); 264 fd[test] = open(files[test], O_RDONLY);
265 if (fd[test] == -1) 265 if (fd[test] == -1)
266 fatalError("Unable to open file %s.\n", files[test]); 266 error_msg_and_die("Unable to open file %s.\n", files[test]);
267 tail_stream(fd[test]); 267 tail_stream(fd[test]);
268 268
269 bs=BUFSIZ; 269 bs=BUFSIZ;