summaryrefslogtreecommitdiffstats
path: root/sys/netncp
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2003-03-20 21:17:40 +0000
committerjhb <jhb@FreeBSD.org>2003-03-20 21:17:40 +0000
commitb8b062b09b687ba751b96ac20ce9fb9a79a43301 (patch)
tree608cb551a154df99f6a9548cb3d9702bd3b8428c /sys/netncp
parent15ebade0f49b1e1e6e150dec2ce588fd540bf300 (diff)
downloadFreeBSD-src-b8b062b09b687ba751b96ac20ce9fb9a79a43301.zip
FreeBSD-src-b8b062b09b687ba751b96ac20ce9fb9a79a43301.tar.gz
Use td->td_ucred instead of td->td_proc->p_ucred.
Diffstat (limited to 'sys/netncp')
-rw-r--r--sys/netncp/ncp_conn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netncp/ncp_conn.c b/sys/netncp/ncp_conn.c
index d7111ec..cc95462 100644
--- a/sys/netncp/ncp_conn.c
+++ b/sys/netncp/ncp_conn.c
@@ -642,7 +642,7 @@ ncp_sysctl_connstat(SYSCTL_HANDLER_ARGS)
int error;
struct ncp_conn_stat ncs;
struct ncp_conn *ncp;
-/* struct ucred *cred = req->p->p_ucred;*/
+/* struct ucred *cred = req->td->td_ucred;*/
error = 0;
sysctl_wire_old_buffer(req, 0);
OpenPOWER on IntegriCloud