aboutsummaryrefslogtreecommitdiff
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 cec5629c8..19e09fbb0 100644
--- a/miscutils/dutmp.c
+++ b/miscutils/dutmp.c
@@ -34,7 +34,7 @@ extern int dutmp_main(int argc, char **argv)
} else {
file = open(argv[1], O_RDONLY);
if (file < 0) {
- perror_msg_and_die(io_error, argv[1]);
+ error_msg_and_die(io_error, argv[1]);
}
}