summaryrefslogtreecommitdiff
path: root/util-linux/fdisk_aix.c
diff options
context:
space:
mode:
authorDenis Vlasenko2008-04-17 00:12:10 +0000
committerDenis Vlasenko2008-04-17 00:12:10 +0000
commit4437d19fb4d7bd7cd9d8acd5e67d85c8751a6e93 (patch)
tree5eb094c94adda9f92cbedac6062b0d0040a5142c /util-linux/fdisk_aix.c
parentaca10f852ae760a3f2e2b9ed08bd13f9d5b85443 (diff)
downloadbusybox-4437d19fb4d7bd7cd9d8acd5e67d85c8751a6e93.zip
busybox-4437d19fb4d7bd7cd9d8acd5e67d85c8751a6e93.tar.gz
fdisk: do not open device twice. Complain on fdisk -l /dev/bogus.
Made enums UPPERCASE. Removed one global variable. Added some FIXMEs. text data bss dec hex filename 804708 645 7112 812465 c65b1 busybox_old 804685 641 7112 812438 c6596 busybox_unstripped
Diffstat (limited to 'util-linux/fdisk_aix.c')
-rw-r--r--util-linux/fdisk_aix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/fdisk_aix.c b/util-linux/fdisk_aix.c
index 0b9fa2b..83be8a8 100644
--- a/util-linux/fdisk_aix.c
+++ b/util-linux/fdisk_aix.c
@@ -62,7 +62,7 @@ check_aix_label(void)
}
aix_other_endian = (aixlabel->magic == AIX_LABEL_MAGIC_SWAPPED);
update_units();
- current_label_type = label_aix;
+ current_label_type = LABEL_AIX;
g_partitions = 1016;
aix_volumes = 15;
aix_info();