diff options
author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2016-05-01 02:24:05 +0000 |
---|---|---|
committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2016-05-01 02:24:05 +0000 |
commit | f32d2926b0f3151409079b0a7b3b7cd3cec73ee2 (patch) | |
tree | 40e161dbc2a5b51098c923f7ba5378838673b0f2 /sbin/dump | |
parent | 312717174d2266e8e3f830bbe5238beabdaec2e6 (diff) | |
download | src-f32d2926b0f3151409079b0a7b3b7cd3cec73ee2.tar.gz src-f32d2926b0f3151409079b0a7b3b7cd3cec73ee2.zip |
sbin: ake use of our rounddown() macro when sys/param.h is available.
No functional change.
Notes
Notes:
svn path=/head/; revision=298872
Diffstat (limited to 'sbin/dump')
-rw-r--r-- | sbin/dump/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/dump/main.c b/sbin/dump/main.c index ee18f8269946..ee02728875ae 100644 --- a/sbin/dump/main.c +++ b/sbin/dump/main.c @@ -267,7 +267,7 @@ main(int argc, char *argv[]) } if (blocksperfile) - blocksperfile = blocksperfile / ntrec * ntrec; /* round down */ + blocksperfile = rounddown(blocksperfile, ntrec); else if (!unlimited) { /* * Determine how to default tape size and density |