diff options
Diffstat (limited to 'coreutils/df.c')
-rw-r--r-- | coreutils/df.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/df.c b/coreutils/df.c index 63dbd61bd..2c72e82a4 100644 --- a/coreutils/df.c +++ b/coreutils/df.c | |||
@@ -112,7 +112,7 @@ int df_main(int argc UNUSED_PARAM, char **argv) | |||
112 | /* From the manpage of df from coreutils-6.10: | 112 | /* From the manpage of df from coreutils-6.10: |
113 | Disk space is shown in 1K blocks by default, unless the environment | 113 | Disk space is shown in 1K blocks by default, unless the environment |
114 | variable POSIXLY_CORRECT is set, in which case 512-byte blocks are used. | 114 | variable POSIXLY_CORRECT is set, in which case 512-byte blocks are used. |
115 | */ | 115 | */ |
116 | if (getenv("POSIXLY_CORRECT")) /* TODO - a new libbb function? */ | 116 | if (getenv("POSIXLY_CORRECT")) /* TODO - a new libbb function? */ |
117 | df_disp_hr = 512; | 117 | df_disp_hr = 512; |
118 | 118 | ||
@@ -221,7 +221,7 @@ int df_main(int argc UNUSED_PARAM, char **argv) | |||
221 | } | 221 | } |
222 | #else | 222 | #else |
223 | if (printf("\n%-20s" + 1, device) > 20 && !(opt & OPT_POSIX)) | 223 | if (printf("\n%-20s" + 1, device) > 20 && !(opt & OPT_POSIX)) |
224 | printf("\n%-20s", ""); | 224 | printf("\n%-20s", ""); |
225 | #endif | 225 | #endif |
226 | 226 | ||
227 | #if ENABLE_FEATURE_HUMAN_READABLE | 227 | #if ENABLE_FEATURE_HUMAN_READABLE |