diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-04-17 00:12:10 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-04-17 00:12:10 +0000 |
commit | 4437d19fb4d7bd7cd9d8acd5e67d85c8751a6e93 (patch) | |
tree | 5eb094c94adda9f92cbedac6062b0d0040a5142c /util-linux/fdisk_aix.c | |
parent | aca10f852ae760a3f2e2b9ed08bd13f9d5b85443 (diff) |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/fdisk_aix.c b/util-linux/fdisk_aix.c index 0b9fa2be9..83be8a8f9 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(); |