Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Andersen <andersen@codepoet.org>2000-04-19 07:59:10 +0400
committerErik Andersen <andersen@codepoet.org>2000-04-19 07:59:10 +0400
commit3fe7f9f20b6562e667ff3c9388a6ce00bd1ba19f (patch)
tree98c78a2d9487f52752ed3057d9dd233be6f65161 /loadfont.c
parenta3e57ca7008cbaf612675b9de3dd18109f8150de (diff)
More minor updates to docs (and making apps behave as the docs
suggest they should) -Erik
Diffstat (limited to 'loadfont.c')
-rw-r--r--loadfont.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/loadfont.c b/loadfont.c
index 0f6afecd4..5e1f04d76 100644
--- a/loadfont.c
+++ b/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)