diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-03 02:58:54 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-03 02:58:54 +0000 |
commit | d54708399dbab43b2867dad1a41eb199eb0813d8 (patch) | |
tree | 28d5d123f2babb30d3998febc250a584d92ca065 /util-linux/fdisk.c | |
parent | 9b1381fd2fb7179f731709542507015799f90a51 (diff) | |
download | busybox-w32-d54708399dbab43b2867dad1a41eb199eb0813d8.tar.gz busybox-w32-d54708399dbab43b2867dad1a41eb199eb0813d8.tar.bz2 busybox-w32-d54708399dbab43b2867dad1a41eb199eb0813d8.zip |
fdisk: remove 8k buffer from bss - OSF labels
are not THAT common anyway
Diffstat (limited to 'util-linux/fdisk.c')
-rw-r--r-- | util-linux/fdisk.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c index 27b041e8e..cc6dfa57a 100644 --- a/util-linux/fdisk.c +++ b/util-linux/fdisk.c | |||
@@ -2715,7 +2715,7 @@ is_ide_cdrom_or_tape(const char *device) | |||
2715 | 2715 | ||
2716 | 2716 | ||
2717 | static void | 2717 | static void |
2718 | try(const char *device, int user_specified) | 2718 | trydev(const char *device, int user_specified) |
2719 | { | 2719 | { |
2720 | int gb; | 2720 | int gb; |
2721 | 2721 | ||
@@ -2736,7 +2736,7 @@ try(const char *device, int user_specified) | |||
2736 | return; | 2736 | return; |
2737 | } | 2737 | } |
2738 | #if ENABLE_FEATURE_OSF_LABEL | 2738 | #if ENABLE_FEATURE_OSF_LABEL |
2739 | if (btrydev(device) < 0) | 2739 | if (bsd_trydev(device) < 0) |
2740 | #endif | 2740 | #endif |
2741 | printf(_("Disk %s doesn't contain a valid " | 2741 | printf(_("Disk %s doesn't contain a valid " |
2742 | "partition table\n"), device); | 2742 | "partition table\n"), device); |
@@ -2780,7 +2780,7 @@ tryprocpt(void) | |||
2780 | if (isdigit(s[-1])) | 2780 | if (isdigit(s[-1])) |
2781 | continue; | 2781 | continue; |
2782 | sprintf(devname, "/dev/%s", ptname); | 2782 | sprintf(devname, "/dev/%s", ptname); |
2783 | try(devname, 0); | 2783 | trydev(devname, 0); |
2784 | } | 2784 | } |
2785 | #if ENABLE_FEATURE_CLEAN_UP | 2785 | #if ENABLE_FEATURE_CLEAN_UP |
2786 | fclose(procpt); | 2786 | fclose(procpt); |
@@ -2865,7 +2865,7 @@ int fdisk_main(int argc, char **argv) | |||
2865 | #endif | 2865 | #endif |
2866 | listing = 1; | 2866 | listing = 1; |
2867 | for (k = 0; k < argc; k++) | 2867 | for (k = 0; k < argc; k++) |
2868 | try(argv[k], 1); | 2868 | trydev(argv[k], 1); |
2869 | } else { | 2869 | } else { |
2870 | /* we no longer have default device names */ | 2870 | /* we no longer have default device names */ |
2871 | /* but, we can use /proc/partitions instead */ | 2871 | /* but, we can use /proc/partitions instead */ |