diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2002-04-04 20:49:35 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2002-04-04 20:49:35 +0000 |
| commit | 9939f0f11cda9b15a80477537c3b7b547ddf3a24 (patch) | |
| tree | d93a45bf9d954de34b759caf280e3fbfe4c5f498 | |
| parent | b6396e1656c769bdab40b5a69bde315d678b1a56 (diff) | |
Notes
| -rw-r--r-- | sys/kern/kern_sx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_sx.c b/sys/kern/kern_sx.c index fb6647d942d8..2f69a0094e89 100644 --- a/sys/kern/kern_sx.c +++ b/sys/kern/kern_sx.c @@ -70,7 +70,7 @@ sx_init(struct sx *sx, const char *description) ("sx lock %s %p already initialized", description, sx)); bzero(sx, sizeof(*sx)); lock->lo_class = &lock_class_sx; - lock->lo_name = description; + lock->lo_type = lock->lo_name = description; lock->lo_flags = LO_WITNESS | LO_RECURSABLE | LO_SLEEPABLE | LO_UPGRADABLE; sx->sx_lock = mtx_pool_find(sx); |
