diff options
author | jkim <jkim@FreeBSD.org> | 2010-07-12 15:32:45 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2010-07-12 15:32:45 +0000 |
commit | 06b6c2769b308fbbd16afe28e00b4d8462fcfa7e (patch) | |
tree | 1b283ccf8086311c7ca709d77154fd2591efab57 /sys/kern/subr_prf.c | |
parent | 5bc7afa9ee3b92794b014d7bc2bdd80bea3e1d56 (diff) | |
download | FreeBSD-src-06b6c2769b308fbbd16afe28e00b4d8462fcfa7e.zip FreeBSD-src-06b6c2769b308fbbd16afe28e00b4d8462fcfa7e.tar.gz |
Use type-specific inline function imax() instead of deprecated macro MAX().
Prodded by: bde
Diffstat (limited to 'sys/kern/subr_prf.c')
-rw-r--r-- | sys/kern/subr_prf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c index 776c4e8..d0d2ad7 100644 --- a/sys/kern/subr_prf.c +++ b/sys/kern/subr_prf.c @@ -813,7 +813,7 @@ number: if (!ladjust && padc == '0') dwidth = width - tmp; - width -= tmp + MAX(dwidth, n); + width -= tmp + imax(dwidth, n); dwidth -= n; if (!ladjust) while (width-- > 0) |