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