diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-27 06:13:43 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-27 06:13:43 +0100 |
commit | 29516ac0e41fc41dd15b7d0c67bd160f03d21bbb (patch) | |
tree | 5c5df00c64e1ed9361243540657e3391c69004c2 /util-linux/fdisk.c | |
parent | 351ab8278e9719cfdc2abb348017b4e5909bcee8 (diff) | |
download | busybox-w32-29516ac0e41fc41dd15b7d0c67bd160f03d21bbb.tar.gz busybox-w32-29516ac0e41fc41dd15b7d0c67bd160f03d21bbb.tar.bz2 busybox-w32-29516ac0e41fc41dd15b7d0c67bd160f03d21bbb.zip |
fdisk: sanitize partition name printing; drop "Code" column; get rid of one static var
function old new delta
list_table 2335 2373 +38
fill_bounds 131 128 -3
part_array_len 4 - -4
get_boot 1584 1574 -10
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 1/2 up/down: 38/-17) Total: 21 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/fdisk.c')
-rw-r--r-- | util-linux/fdisk.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c index af8073532..b988e65a9 100644 --- a/util-linux/fdisk.c +++ b/util-linux/fdisk.c | |||
@@ -121,6 +121,7 @@ | |||
121 | # define BLKGETSIZE64 _IOR(0x12,114,size_t) | 121 | # define BLKGETSIZE64 _IOR(0x12,114,size_t) |
122 | #endif | 122 | #endif |
123 | #include "libbb.h" | 123 | #include "libbb.h" |
124 | #include "unicode.h" | ||
124 | 125 | ||
125 | #if BB_LITTLE_ENDIAN | 126 | #if BB_LITTLE_ENDIAN |
126 | # define inline_if_little_endian ALWAYS_INLINE | 127 | # define inline_if_little_endian ALWAYS_INLINE |