aboutsummaryrefslogtreecommitdiff
path: root/coreutils/stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/stat.c')
-rw-r--r--coreutils/stat.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/coreutils/stat.c b/coreutils/stat.c
index 0d13fdf65..6cee2ce23 100644
--- a/coreutils/stat.c
+++ b/coreutils/stat.c
@@ -343,11 +343,7 @@ static void FAST_FUNC print_stat(char *pformat, const char m,
343 printf(pformat, (unsigned long) 512); //ST_NBLOCKSIZE 343 printf(pformat, (unsigned long) 512); //ST_NBLOCKSIZE
344 } else if (m == 'b') { 344 } else if (m == 'b') {
345 strcat(pformat, "llu"); 345 strcat(pformat, "llu");
346#if !ENABLE_PLATFORM_MINGW32
347 printf(pformat, (unsigned long long) statbuf->st_blocks); 346 printf(pformat, (unsigned long long) statbuf->st_blocks);
348#else
349 printf(pformat, (unsigned long long) ((statbuf->st_size+511)/512));
350#endif
351 } else if (m == 'o') { 347 } else if (m == 'o') {
352 strcat(pformat, "lu"); 348 strcat(pformat, "lu");
353#if !ENABLE_PLATFORM_MINGW32 349#if !ENABLE_PLATFORM_MINGW32