We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02b72b1 commit 0bef7c0Copy full SHA for 0bef7c0
bin/df/df.c
@@ -131,8 +131,10 @@ main(int argc, char *argv[])
131
* be set to 1024. Thus, if this occurs, simply break
132
* rather than clobbering the old blocksize.
133
*/
134
- if (kflag)
+ if (kflag) {
135
+ setenv("BLOCKSIZE", "1024", 1);
136
break;
137
+ }
138
setenv("BLOCKSIZE", "512", 1);
139
hflag = 0;
140
@@ -154,7 +156,7 @@ main(int argc, char *argv[])
154
156
155
157
case 'k':
158
kflag++;
- setenv("BLOCKSIZE", "1024", 1);
159
+ setenv("BLOCKSIZE", "1k", 1);
160
161
162
case 'l':
0 commit comments