mirror of
https://github.com/sheumann/hush.git
synced 2024-08-20 04:28:57 +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) {
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user