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 b2c56f0aa260351854b11988d124efc55aa877b8..90680e8491c610e3892b800c9f24c9c33eef4dbe 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 27c741813f3494c0b6e6bb4392c77e772e243bdc..997cdec833d108f19f6c2c7a7f188fac186870e0 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.