--- trunk/mkinitrd-magellan/busybox/console-tools/loadfont.c 2010/04/29 20:38:48 983 +++ trunk/mkinitrd-magellan/busybox/console-tools/loadfont.c 2010/05/30 11:32:42 984 @@ -6,6 +6,8 @@ * * Loads the console font, and possibly the corresponding screen map(s). * (Adapted for busybox by Matej Vela.) + * + * Licensed under GPLv2, see file LICENSE in this tarball for details. */ #include "libbb.h" #include @@ -275,7 +277,7 @@ opts = getopt32(argv, "m:C:", &mapfilename, &tty_name); argv += optind; - fd = xopen(tty_name, O_NONBLOCK); + fd = xopen_nonblocking(tty_name); if (sizeof(CONFIG_DEFAULT_SETFONT_DIR) > 1) { // if not "" if (*argv[0] != '/') {