aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-03-22 22:22:10 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-03-22 22:22:10 +0000
commitdd92d7052a48feff1b63d68e4ade691d3fd70320 (patch)
treed28f81d979f0c9fedf630b8bb0af27145bc1b72d /util-linux
parent724dbda07e0e7bf89317198323f4973ec0510844 (diff)
downloadbusybox-w32-dd92d7052a48feff1b63d68e4ade691d3fd70320.tar.gz
busybox-w32-dd92d7052a48feff1b63d68e4ade691d3fd70320.tar.bz2
busybox-w32-dd92d7052a48feff1b63d68e4ade691d3fd70320.zip
assorted fixes uncovered by randomconfig runs
git-svn-id: svn://busybox.net/trunk/busybox@18209 69ca8d6d-28ef-0310-b511-8ec308f3f277
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