summaryrefslogtreecommitdiff
path: root/lib/fsusage.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1993-10-06 00:24:18 +0000
committerJim Meyering <jim@meyering.net>1993-10-06 00:24:18 +0000
commit061697058cd98ffca2a110c9fb736f0dd0c5c459 (patch)
tree3cde384603271768516df0c097a6eb6e2fffa1ad /lib/fsusage.c
parent712109716a7b75dda2d34751202d210acd879f6b (diff)
downloadcoreutils-061697058cd98ffca2a110c9fb736f0dd0c5c459.tar.xz
merge with 3.8.3a
Diffstat (limited to 'lib/fsusage.c')
-rw-r--r--lib/fsusage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fsusage.c b/lib/fsusage.c
index 9307a40b5..2f1179b23 100644
--- a/lib/fsusage.c
+++ b/lib/fsusage.c
@@ -70,7 +70,7 @@ adjust_blocks (blocks, fromsize, tosize)
else if (fromsize > tosize) /* E.g., from 2048 to 512. */
return blocks * (fromsize / tosize);
else /* E.g., from 256 to 512. */
- return (blocks + (blocks < 0 ? -1 : +1)) / (tosize / fromsize);
+ return (blocks + (blocks < 0 ? -1 : 1)) / (tosize / fromsize);
}
/* Fill in the fields of FSP with information about space usage for