diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2009-10-26 23:27:08 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-10-27 17:17:34 +0100 |
commit | a48308701a4d89d7cc0d0557cfabaec94a0bb3b0 (patch) | |
tree | a7b2baa086249a6c37c3479f28f4a680a1133a64 /console-tools/loadfont.c | |
parent | ca254490d703c750390042c9afa21d1537c90e9a (diff) | |
download | busybox-w32-a48308701a4d89d7cc0d0557cfabaec94a0bb3b0.tar.gz busybox-w32-a48308701a4d89d7cc0d0557cfabaec94a0bb3b0.tar.bz2 busybox-w32-a48308701a4d89d7cc0d0557cfabaec94a0bb3b0.zip |
add and use xopen_nonblocking (-18b)
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'console-tools/loadfont.c')
-rw-r--r-- | console-tools/loadfont.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/console-tools/loadfont.c b/console-tools/loadfont.c index 336418061..e83347432 100644 --- a/console-tools/loadfont.c +++ b/console-tools/loadfont.c | |||
@@ -277,7 +277,7 @@ int setfont_main(int argc UNUSED_PARAM, char **argv) | |||
277 | opts = getopt32(argv, "m:C:", &mapfilename, &tty_name); | 277 | opts = getopt32(argv, "m:C:", &mapfilename, &tty_name); |
278 | argv += optind; | 278 | argv += optind; |
279 | 279 | ||
280 | fd = xopen(tty_name, O_NONBLOCK); | 280 | fd = xopen_nonblocking(tty_name); |
281 | 281 | ||
282 | if (sizeof(CONFIG_DEFAULT_SETFONT_DIR) > 1) { // if not "" | 282 | if (sizeof(CONFIG_DEFAULT_SETFONT_DIR) > 1) { // if not "" |
283 | if (*argv[0] != '/') { | 283 | if (*argv[0] != '/') { |