mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 00:55:11 +00:00
df: trivial 64-bit fix
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
010fb00708
commit
a46317b6f3
@ -183,7 +183,7 @@ int df_main(int argc, char **argv)
|
|||||||
if (dev_len > 20) {
|
if (dev_len > 20) {
|
||||||
printf("%s\n%20s", device, "");
|
printf("%s\n%20s", device, "");
|
||||||
} else {
|
} else {
|
||||||
printf("%s%*s", device, 20 - dev_len, "");
|
printf("%s%*s", device, 20 - (int)dev_len, "");
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
if (printf("\n%-20s" + 1, device) > 20)
|
if (printf("\n%-20s" + 1, device) > 20)
|
||||||
|
Loading…
Reference in New Issue
Block a user