aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-03-22 22:22:10 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-03-22 22:22:10 +0000
commit58875aefe4662f83273a787db5aae3ed3abd470a (patch)
treed28f81d979f0c9fedf630b8bb0af27145bc1b72d /util-linux
parentd0587ed9666d2d3aa65c42007ae93244cfc58568 (diff)
downloadbusybox-w32-58875aefe4662f83273a787db5aae3ed3abd470a.tar.gz
busybox-w32-58875aefe4662f83273a787db5aae3ed3abd470a.tar.bz2
busybox-w32-58875aefe4662f83273a787db5aae3ed3abd470a.zip
assorted fixes uncovered by randomconfig runs
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/fdisk.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c
index 9d7bd4e2c..f3c7ca4c6 100644
--- a/util-linux/fdisk.c
+++ b/util-linux/fdisk.c
@@ -325,6 +325,7 @@ struct globals {
325 s |= (sector >> 2) & 0xc0; \ 325 s |= (sector >> 2) & 0xc0; \
326 } while (0) 326 } while (0)
327 327
328#if ENABLE_FEATURE_FDISK_WRITABLE
328/* read line; return 0 or first printable char */ 329/* read line; return 0 or first printable char */
329static int 330static int
330read_line(const char *prompt) 331read_line(const char *prompt)
@@ -343,6 +344,7 @@ read_line(const char *prompt)
343 line_ptr++; 344 line_ptr++;
344 return *line_ptr; 345 return *line_ptr;
345} 346}
347#endif
346 348
347/* 349/*
348 * return partition name - uses static storage 350 * return partition name - uses static storage