projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
010fb00
)
df: trivial 64-bit fix
author
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 21 Oct 2009 21:28:20 +0000
(23:28 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 21 Oct 2009 21:28:20 +0000
(23:28 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
coreutils/df.c
patch
|
blob
|
history
diff --git
a/coreutils/df.c
b/coreutils/df.c
index 624ad94baea121f672c943484a34c668bb21dd74..a0e6fe0700a51e63c294aed3143a98613bf8bf70 100644
(file)
--- a/
coreutils/df.c
+++ b/
coreutils/df.c
@@
-183,7
+183,7
@@
int df_main(int argc, char **argv)
if (dev_len > 20) {
printf("%s\n%20s", device, "");
} else {
- printf("%s%*s", device, 20 - dev_len, "");
+ printf("%s%*s", device, 20 -
(int)
dev_len, "");
}
#else
if (printf("\n%-20s" + 1, device) > 20)