Fix typos in previous commit:

o  s/sys_narg/sy_narg/
o  s/SYS_MPSAFE/SYF_MPSAFE/
This commit is contained in:
Marcel Moolenaar 2001-10-18 05:21:52 +00:00
parent 4a3391b5a1
commit acddfcf3a2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=85088

View file

@ -612,7 +612,7 @@ syscall(int code, u_int64_t *args, struct trapframe *framep)
/*
* Try to run the syscall without Giant if the syscall is MP safe.
*/
if ((callp->sys_narg & SYS_MPSAFE) == 0)
if ((callp->sy_narg & SYF_MPSAFE) == 0)
mtx_lock(&Giant);
#ifdef KTRACE
if (KTRPOINT(p, KTR_SYSCALL))