summaryrefslogtreecommitdiff
path: root/util-linux/fdisk_sun.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-12-30 18:42:29 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-12-30 18:42:29 +0000
commit6a5dc5d75a1368464fc7e085aa1f1d4c453d27cd (patch)
treed270e6fa41ae3b327aaef60a956328961795594a /util-linux/fdisk_sun.c
parent3bba545a54addf59b63a003e7ada03fd8b29b5ba (diff)
downloadbusybox-w32-6a5dc5d75a1368464fc7e085aa1f1d4c453d27cd.tar.gz
busybox-w32-6a5dc5d75a1368464fc7e085aa1f1d4c453d27cd.tar.bz2
busybox-w32-6a5dc5d75a1368464fc7e085aa1f1d4c453d27cd.zip
next bunch of fixes for bugs found by randconfig
Diffstat (limited to 'util-linux/fdisk_sun.c')
-rw-r--r--util-linux/fdisk_sun.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util-linux/fdisk_sun.c b/util-linux/fdisk_sun.c
index af85fb2c4..a3ca66f68 100644
--- a/util-linux/fdisk_sun.c
+++ b/util-linux/fdisk_sun.c
@@ -1,4 +1,4 @@
1#ifdef CONFIG_FEATURE_SUN_LABEL 1#if ENABLE_FEATURE_SUN_LABEL
2 2
3#define SUN_LABEL_MAGIC 0xDABE 3#define SUN_LABEL_MAGIC 0xDABE
4#define SUN_LABEL_MAGIC_SWAPPED 0xBEDA 4#define SUN_LABEL_MAGIC_SWAPPED 0xBEDA
@@ -663,7 +663,7 @@ sun_list_table(int xtra)
663 } 663 }
664} 664}
665 665
666#ifdef CONFIG_FEATURE_FDISK_ADVANCED 666#if ENABLE_FEATURE_FDISK_ADVANCED
667 667
668static void 668static void
669sun_set_alt_cyl(void) 669sun_set_alt_cyl(void)
@@ -710,7 +710,7 @@ sun_set_pcylcount(void)
710 SUN_SSWAP16(read_int(0, SUN_SSWAP16(sunlabel->pcylcount), 65535, 0, 710 SUN_SSWAP16(read_int(0, SUN_SSWAP16(sunlabel->pcylcount), 65535, 0,
711 _("Number of physical cylinders"))); 711 _("Number of physical cylinders")));
712} 712}
713#endif /* CONFIG_FEATURE_FDISK_ADVANCED */ 713#endif /* FEATURE_FDISK_ADVANCED */
714 714
715static void 715static void
716sun_write_table(void) 716sun_write_table(void)