aboutsummaryrefslogtreecommitdiff
path: root/util-linux/fdisk_sun.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-12-30 18:42:29 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-12-30 18:42:29 +0000
commit2e9b728d016fb3632e1a0185e4bee8db2cf0f82b (patch)
treed270e6fa41ae3b327aaef60a956328961795594a /util-linux/fdisk_sun.c
parent278c4c60c21f7dcab75ab1137e15079d5cf3c324 (diff)
downloadbusybox-w32-2e9b728d016fb3632e1a0185e4bee8db2cf0f82b.tar.gz
busybox-w32-2e9b728d016fb3632e1a0185e4bee8db2cf0f82b.tar.bz2
busybox-w32-2e9b728d016fb3632e1a0185e4bee8db2cf0f82b.zip
next bunch of fixes for bugs found by randconfig
git-svn-id: svn://busybox.net/trunk/busybox@17106 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to '')
-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)