diff options
author | Kevin Cernekee <cernekee@gmail.com> | 2010-10-25 02:00:24 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-10-25 02:00:24 +0200 |
commit | ccb070450e79c33fb3f755dbea2fdd979f09d3fb (patch) | |
tree | ed842febd5fa0b19bbb7e42d2d98d59f6e3c5c8d /libbb | |
parent | 3b060528a26830ee26aab4e9829ac3a310f06218 (diff) | |
download | busybox-w32-ccb070450e79c33fb3f755dbea2fdd979f09d3fb.tar.gz busybox-w32-ccb070450e79c33fb3f755dbea2fdd979f09d3fb.tar.bz2 busybox-w32-ccb070450e79c33fb3f755dbea2fdd979f09d3fb.zip |
fdisk: initial stab at GPT partition support
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/human_readable.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/human_readable.c b/libbb/human_readable.c index 22dc5d23f..50cbe41bb 100644 --- a/libbb/human_readable.c +++ b/libbb/human_readable.c | |||
@@ -94,7 +94,7 @@ const char* FAST_FUNC make_human_readable_str(unsigned long long val, | |||
94 | 94 | ||
95 | /* Convert unsigned long long value into compact 5-char representation. | 95 | /* Convert unsigned long long value into compact 5-char representation. |
96 | * String is not terminated (buf[5] is untouched) */ | 96 | * String is not terminated (buf[5] is untouched) */ |
97 | void FAST_FUNC smart_ulltoa5(unsigned long long ul, char buf[6], const char *scale) | 97 | void FAST_FUNC smart_ulltoa5(unsigned long long ul, char buf[5], const char *scale) |
98 | { | 98 | { |
99 | const char *fmt; | 99 | const char *fmt; |
100 | char c; | 100 | char c; |
@@ -150,7 +150,7 @@ void FAST_FUNC smart_ulltoa5(unsigned long long ul, char buf[6], const char *sca | |||
150 | /* Convert unsigned long long value into compact 4-char | 150 | /* Convert unsigned long long value into compact 4-char |
151 | * representation. Examples: "1234", "1.2k", " 27M", "123T" | 151 | * representation. Examples: "1234", "1.2k", " 27M", "123T" |
152 | * String is not terminated (buf[4] is untouched) */ | 152 | * String is not terminated (buf[4] is untouched) */ |
153 | void FAST_FUNC smart_ulltoa4(unsigned long long ul, char buf[5], const char *scale) | 153 | void FAST_FUNC smart_ulltoa4(unsigned long long ul, char buf[4], const char *scale) |
154 | { | 154 | { |
155 | const char *fmt; | 155 | const char *fmt; |
156 | char c; | 156 | char c; |