summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_prf.c
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2010-07-12 15:32:45 +0000
committerjkim <jkim@FreeBSD.org>2010-07-12 15:32:45 +0000
commit06b6c2769b308fbbd16afe28e00b4d8462fcfa7e (patch)
tree1b283ccf8086311c7ca709d77154fd2591efab57 /sys/kern/subr_prf.c
parent5bc7afa9ee3b92794b014d7bc2bdd80bea3e1d56 (diff)
downloadFreeBSD-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.c2
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)
OpenPOWER on IntegriCloud