diff options
author | Matt Kraai <kraai@debian.org> | 2000-12-01 05:55:13 +0300 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2000-12-01 05:55:13 +0300 |
commit | 3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0 (patch) | |
tree | 013a1e7752113314831ad7d51854ce8dc9e0918b /console-tools/dumpkmap.c | |
parent | b558e76eb1ba173ce3501c3e13fb80f426a7faac (diff) |
Stop using TRUE and FALSE for exit status.
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 2d989dfc4..77689fc84 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; } |