diff options
author | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2007-05-29 00:17:34 +0000 |
---|---|---|
committer | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2007-05-29 00:17:34 +0000 |
commit | 04f22301b1591dc3ad7bd6d58fc5515fbe615cab (patch) | |
tree | 707b3295f21abc37b1315e0ba2a8ab3a087a771c /sys/net | |
parent | a68a3241a2d1e9f8ae90216909eee955ad98be88 (diff) |
Add a name argument to the RWLOCK_INITIALIZER macro.
Pick reasonble names for the locks involved..
ok tedu@, art@
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/pf_ioctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pf_ioctl.c b/sys/net/pf_ioctl.c index 5694717f609..f6a20e71751 100644 --- a/sys/net/pf_ioctl.c +++ b/sys/net/pf_ioctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_ioctl.c,v 1.175 2007/02/26 22:47:43 deraadt Exp $ */ +/* $OpenBSD: pf_ioctl.c,v 1.176 2007/05/29 00:17:32 thib Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -111,7 +111,7 @@ void pf_hash_rule_addr(MD5_CTX *, struct pf_rule_addr *); int pf_commit_rules(u_int32_t, int, char *); struct pf_rule pf_default_rule; -struct rwlock pf_consistency_lock = RWLOCK_INITIALIZER; +struct rwlock pf_consistency_lock = RWLOCK_INITIALIZER("pfcnslk"); #ifdef ALTQ static int pf_altq_running; #endif |