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