aboutsummaryrefslogtreecommitdiff
path: root/console-tools/loadfont.c
diff options
context:
space:
mode:
authorGravatar Erik Andersen <andersen@codepoet.org>2000-04-19 03:59:10 +0000
committerGravatar Erik Andersen <andersen@codepoet.org>2000-04-19 03:59:10 +0000
commit3fe7f9f20b6562e667ff3c9388a6ce00bd1ba19f (patch)
tree98c78a2d9487f52752ed3057d9dd233be6f65161 /console-tools/loadfont.c
parenta3e57ca7008cbaf612675b9de3dd18109f8150de (diff)
downloadbusybox-3fe7f9f20b6562e667ff3c9388a6ce00bd1ba19f.tar.gz
busybox-3fe7f9f20b6562e667ff3c9388a6ce00bd1ba19f.tar.bz2
More minor updates to docs (and making apps behave as the docs
suggest they should) -Erik
Diffstat (limited to 'console-tools/loadfont.c')
-rw-r--r--console-tools/loadfont.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/console-tools/loadfont.c b/console-tools/loadfont.c
index 0f6afecd4..5e1f04d76 100644
--- a/console-tools/loadfont.c
+++ b/console-tools/loadfont.c
@@ -54,11 +54,11 @@ extern int loadfont_main(int argc, char **argv)
fd = open("/dev/tty0", O_RDWR);
if (fd < 0) {
fprintf(stderr, "Error opening /dev/tty0: %s\n", strerror(errno));
- return 1;
+ return( FALSE);
}
loadnewfont(fd);
- return 0;
+ return( TRUE);
}
static void do_loadfont(int fd, char *inbuf, int unit, int fontsize)