summaryrefslogtreecommitdiff
path: root/miscutils/dutmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/dutmp.c')
-rw-r--r--miscutils/dutmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/dutmp.c b/miscutils/dutmp.c
index 03d80d8..efd15df 100644
--- a/miscutils/dutmp.c
+++ b/miscutils/dutmp.c
@@ -35,7 +35,7 @@ extern int dutmp_main(int argc, char **argv)
} else {
file = open(argv[1], O_RDONLY);
if (file < 0) {
- fatalError(io_error, argv[1], strerror(errno));
+ error_msg_and_die(io_error, argv[1], strerror(errno));
}
}