artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
260df0b
)
avoid the use of an uninitialised variable in one of the codepaths in
author
jsg
<jsg@openbsd.org>
Sun, 4 Jan 2015 02:53:19 +0000
(
02:53
+0000)
committer
jsg
<jsg@openbsd.org>
Sun, 4 Jan 2015 02:53:19 +0000
(
02:53
+0000)
pool_setlowat()
ok dlg@ tedu@
sys/kern/subr_pool.c
patch
|
blob
|
history
diff --git
a/sys/kern/subr_pool.c
b/sys/kern/subr_pool.c
index
4acc608
..
3cf0474
100644
(file)
--- a/
sys/kern/subr_pool.c
+++ b/
sys/kern/subr_pool.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: subr_pool.c,v 1.17
4 2014/12/22 02:59:53 tedu Exp $
*/
+/* $OpenBSD: subr_pool.c,v 1.17
5 2015/01/04 02:53:19 jsg Exp $
*/
/* $NetBSD: subr_pool.c,v 1.61 2001/09/26 07:14:56 chs Exp $ */
/*-
@@
-863,7
+863,7
@@
pool_update_curpage(struct pool *pp)
void
pool_setlowat(struct pool *pp, int n)
{
- int prime;
+ int prime
= 0
;
mtx_enter(&pp->pr_mtx);
pp->pr_minitems = n;