aboutsummaryrefslogtreecommitdiff
path: root/console-tools/dumpkmap.c
diff options
context:
space:
mode:
authorGravatar Matt Kraai <kraai@debian.org>2000-12-01 02:55:13 +0000
committerGravatar Matt Kraai <kraai@debian.org>2000-12-01 02:55:13 +0000
commit3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0 (patch)
tree013a1e7752113314831ad7d51854ce8dc9e0918b /console-tools/dumpkmap.c
parentb558e76eb1ba173ce3501c3e13fb80f426a7faac (diff)
downloadbusybox-3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0.tar.gz
busybox-3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0.tar.bz2
Stop using TRUE and FALSE for exit status.
Diffstat (limited to 'console-tools/dumpkmap.c')
-rw-r--r--console-tools/dumpkmap.c4
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;
}