OSDN Git Service

fix a few goofs uncovered by "make allnoconfig" testing
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 6 Jun 2010 03:07:11 +0000 (05:07 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 6 Jun 2010 03:07:11 +0000 (05:07 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/ash.c
util-linux/Config.src

index b2c56f0..90680e8 100644 (file)
@@ -9479,7 +9479,7 @@ preadfd(void)
                }
        }
 #else
-       nr = nonblock_safe_read(g_parsefile->fd, buf, IBUFSIZ - 1);
+       nr = nonblock_safe_read(g_parsefile->pf_fd, buf, IBUFSIZ - 1);
 #endif
 
 #if 0
index 27c7418..997cdec 100644 (file)
@@ -293,7 +293,7 @@ config FEATURE_HEXDUMP_REVERSE
 config HD
        bool "hd"
        default y
-       select HEXDUMP
+       depends on HEXDUMP
        help
          hd is an alias to hexdump -C.