diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2013-11-29 16:45:45 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-11-29 16:45:45 +0100 |
commit | 327f550669a80d72f36bc9e4de619c163aa46eff (patch) | |
tree | d304092aeb06539085be1385ab9298876c414b44 /util-linux/fdformat.c | |
parent | 9b2a9f0210f13f1c59c0b954c4aa0eeb0a66efd1 (diff) | |
download | busybox-w32-327f550669a80d72f36bc9e4de619c163aa46eff.tar.gz busybox-w32-327f550669a80d72f36bc9e4de619c163aa46eff.tar.bz2 busybox-w32-327f550669a80d72f36bc9e4de619c163aa46eff.zip |
Use unsigned printf/scanf conversion where more appropriate
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/fdformat.c')
-rw-r--r-- | util-linux/fdformat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/fdformat.c b/util-linux/fdformat.c index b3e918fb0..6f49cec8f 100644 --- a/util-linux/fdformat.c +++ b/util-linux/fdformat.c | |||
@@ -72,7 +72,7 @@ int fdformat_main(int argc UNUSED_PARAM, char **argv) | |||
72 | /* original message was: "Could not determine current format type" */ | 72 | /* original message was: "Could not determine current format type" */ |
73 | xioctl(fd, FDGETPRM, ¶m); | 73 | xioctl(fd, FDGETPRM, ¶m); |
74 | 74 | ||
75 | printf("%s-sided, %d tracks, %d sec/track. Total capacity %d kB\n", | 75 | printf("%s-sided, %u tracks, %u sec/track. Total capacity %d kB\n", |
76 | (param.head == 2) ? "Double" : "Single", | 76 | (param.head == 2) ? "Double" : "Single", |
77 | param.track, param.sect, param.size >> 1); | 77 | param.track, param.sect, param.size >> 1); |
78 | 78 | ||