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 | |
parent | cfdb0e0818a05c2f7d0f84e27b05436d8e46a169 (diff) |
unsigned -> u_int and warnmess -> warnmsg
for pool_sethardlimit.
prodded by and ok tedu@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/subr_pool.c | 6 | ||||
-rw-r--r-- | sys/sys/pool.h | 4 |
2 files changed, 5 insertions, 5 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; diff --git a/sys/sys/pool.h b/sys/sys/pool.h index 9a599b53b9d..9ec0dade3f4 100644 --- a/sys/sys/pool.h +++ b/sys/sys/pool.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pool.h,v 1.26 2008/05/06 20:57:19 thib Exp $ */ +/* $OpenBSD: pool.h,v 1.27 2008/05/16 17:21:36 thib Exp $ */ /* $NetBSD: pool.h,v 1.27 2001/06/06 22:00:17 rafal Exp $ */ /*- @@ -153,7 +153,7 @@ void pool_destroy(struct pool *); void pool_setipl(struct pool *, int); void pool_setlowat(struct pool *, int); void pool_sethiwat(struct pool *, int); -int pool_sethardlimit(struct pool *, unsigned, const char *, int); +int pool_sethardlimit(struct pool *, u_int, const char *, int); void pool_set_ctordtor(struct pool *, int (*)(void *, void *, int), void(*)(void *, void *), void *); |