diff options
Diffstat (limited to 'dumpkmap.c')
-rw-r--r-- | dumpkmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dumpkmap.c b/dumpkmap.c index 2d989dfc4..77689fc84 100644 --- a/dumpkmap.c +++ b/dumpkmap.c | |||
@@ -51,7 +51,7 @@ int dumpkmap_main(int argc, char **argv) | |||
51 | fd = open("/dev/tty0", O_RDWR); | 51 | fd = open("/dev/tty0", O_RDWR); |
52 | if (fd < 0) { | 52 | if (fd < 0) { |
53 | errorMsg("Error opening /dev/tty0: %s\n", strerror(errno)); | 53 | errorMsg("Error opening /dev/tty0: %s\n", strerror(errno)); |
54 | return 1; | 54 | return EXIT_FAILURE; |
55 | } | 55 | } |
56 | 56 | ||
57 | write(1, magic, 7); | 57 | write(1, magic, 7); |
@@ -88,5 +88,5 @@ int dumpkmap_main(int argc, char **argv) | |||
88 | } | 88 | } |
89 | } | 89 | } |
90 | close(fd); | 90 | close(fd); |
91 | return 0; | 91 | return EXIT_SUCCESS; |
92 | } | 92 | } |