1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00

sysctl: remove a debugging printf which crept in with r285125

This commit is contained in:
Mateusz Guzik 2015-07-04 07:01:43 +00:00
parent b8633775a8
commit d5fc115a1a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=285126

View File

@ -90,7 +90,7 @@ static MALLOC_DEFINE(M_SYSCTLTMP, "sysctltmp", "sysctl temp output buffer");
static struct rmlock sysctllock;
static struct sx sysctlmemlock;
#define SYSCTL_WLOCK() do { printf("wlocked!\n"); rm_wlock(&sysctllock); } while (0)
#define SYSCTL_WLOCK() rm_wlock(&sysctllock)
#define SYSCTL_WUNLOCK() rm_wunlock(&sysctllock)
#define SYSCTL_RLOCK(tracker) rm_rlock(&sysctllock, (tracker))
#define SYSCTL_RUNLOCK(tracker) rm_runlock(&sysctllock, (tracker))