diff options
Diffstat (limited to 'pflocal/pflocal.c')
-rw-r--r-- | pflocal/pflocal.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pflocal/pflocal.c b/pflocal/pflocal.c index 89c33811..4ad41387 100644 --- a/pflocal/pflocal.c +++ b/pflocal/pflocal.c @@ -83,7 +83,7 @@ pf_demuxer (mach_msg_header_t *inp, mach_msg_header_t *outp) } int debug_flag = 0; -struct mutex debug_lock; +spin_lock_t debug_lock = SPIN_LOCK_INITIALIZER; void main(int argc, char *argv[]) { @@ -119,8 +119,6 @@ void main(int argc, char *argv[]) if (err) error(3, err, "Initializing"); -mutex_init (&debug_lock); - /* Reply to our parent */ err = trivfs_startup(bootstrap, |