Skip to content

Commit

Permalink
Use the proper flag to let kern.ttys be executed without Giant.
Browse files Browse the repository at this point in the history
Pointed out by:	jhb
  • Loading branch information
Ed Schouten authored and Ed Schouten committed Jan 26, 2009
1 parent 18141fb commit 8e700fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/kern/tty.c
Original file line number Diff line number Diff line change
Expand Up @@ -1053,7 +1053,7 @@ sysctl_kern_ttys(SYSCTL_HANDLER_ARGS)
return (error);
}

SYSCTL_PROC(_kern, OID_AUTO, ttys, CTLTYPE_OPAQUE|CTLFLAG_RD|CTLFLAG_NOLOCK,
SYSCTL_PROC(_kern, OID_AUTO, ttys, CTLTYPE_OPAQUE|CTLFLAG_RD|CTLFLAG_MPSAFE,
0, 0, sysctl_kern_ttys, "S,xtty", "List of TTYs");

/*
Expand Down

0 comments on commit 8e700fb

Please sign in to comment.