diff options
author | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2008-05-16 17:21:37 +0000 |
---|---|---|
committer | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2008-05-16 17:21:37 +0000 |
commit | 82714cc644376594d3c4ffb53c72a0c1bef598f9 (patch) | |
tree | ddd940061d86c03ee6c864a7ed2a8378b192f603 /sys/kern | |
parent | cfdb0e0818a05c2f7d0f84e27b05436d8e46a169 (diff) |
unsigned -> u_int and warnmess -> warnmsg
for pool_sethardlimit.
prodded by and ok tedu@
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/subr_pool.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/subr_pool.c b/sys/kern/subr_pool.c index 9013e15b53f..98a32bea01a 100644 --- a/sys/kern/subr_pool.c +++ b/sys/kern/subr_pool.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_pool.c,v 1.59 2008/05/06 20:57:19 thib Exp $ */ +/* $OpenBSD: subr_pool.c,v 1.60 2008/05/16 17:21:36 thib Exp $ */ /* $NetBSD: subr_pool.c,v 1.61 2001/09/26 07:14:56 chs Exp $ */ /*- @@ -868,7 +868,7 @@ pool_sethiwat(struct pool *pp, int n) } int -pool_sethardlimit(struct pool *pp, unsigned n, const char *warnmess, int ratecap) +pool_sethardlimit(struct pool *pp, u_int n, const char *warnmsg, int ratecap) { int error = 0; @@ -878,7 +878,7 @@ pool_sethardlimit(struct pool *pp, unsigned n, const char *warnmess, int ratecap } pp->pr_hardlimit = n; - pp->pr_hardlimit_warning = warnmess; + pp->pr_hardlimit_warning = warnmsg; pp->pr_hardlimit_ratecap.tv_sec = ratecap; pp->pr_hardlimit_warning_last.tv_sec = 0; pp->pr_hardlimit_warning_last.tv_usec = 0; |