sed s/porc/proc/

There is no osi macro osi_curporc.  Typo.

Change-Id: I02f151be942471579ca60ed1e2190d0895288e4c
Reviewed-on: http://gerrit.openafs.org/2617
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Matt Benjamin 2010-08-26 20:37:52 -04:00 committed by Derrick Brashear
parent 2221b61eff
commit a9958b34a9
2 changed files with 2 additions and 3 deletions

View File

@ -1823,7 +1823,7 @@ _settok_setParentPag(afs_ucred_t **cred) {
osi_procname(procname, 256);
afs_warnuser("Process %d (%s) tried to change pags in PSetTokens\n",
MyPidxx2Pid(MyPidxx), procname);
return setpag(osi_curporc(), cred, -1, &pag, 1);
return setpag(osi_curproc(), cred, -1, &pag, 1);
#else
return setpag(cred, -1, &pag, 1);
#endif

View File

@ -108,8 +108,7 @@ osi_StopListener(void)
"rx_shutdown_timedwait", 1 * hz);
--tries;
}
if (so_is_disconn(rx_socket))
soclose(rx_socket);
soclose(rx_socket);
MUTEX_EXIT(&s_mtx);
MUTEX_DESTROY(&s_mtx);
}