aboutsummaryrefslogtreecommitdiff
path: root/coreutils/df.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/df.c')
-rw-r--r--coreutils/df.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/df.c b/coreutils/df.c
index 2c72e82a4..5e9a8670f 100644
--- a/coreutils/df.c
+++ b/coreutils/df.c
@@ -110,8 +110,8 @@ int df_main(int argc UNUSED_PARAM, char **argv)
110 df_disp_hr = xatoul_range(chp, 1, ULONG_MAX); /* disallow 0 */ 110 df_disp_hr = xatoul_range(chp, 1, ULONG_MAX); /* disallow 0 */
111 111
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;