diff options
Diffstat (limited to 'dumpkmap.c')
-rw-r--r-- | dumpkmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dumpkmap.c b/dumpkmap.c index 3ff5ef691..c5a2ea74e 100644 --- a/dumpkmap.c +++ b/dumpkmap.c @@ -50,7 +50,7 @@ int dumpkmap_main(int argc, char **argv) fd = open("/dev/tty0", O_RDWR); if (fd < 0) { - error_msg("Error opening /dev/tty0: %s\n", strerror(errno)); + perror_msg("Error opening /dev/tty0"); return EXIT_FAILURE; } |