diff options
author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2008-10-30 16:29:04 +0000 |
---|---|---|
committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2008-10-30 16:29:04 +0000 |
commit | bcea896973943496867432f3365f8cd8045e824a (patch) | |
tree | 5cde4c7fabe876407982c240275f319bfc10460b /sys/netinet/udp_usrreq.c | |
parent | 1fa1466fa0f70e8d5853f2b098123af995e2e303 (diff) |
Notes
Diffstat (limited to 'sys/netinet/udp_usrreq.c')
-rw-r--r-- | sys/netinet/udp_usrreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c index 3d791021bc51..8ccdfe4e3640 100644 --- a/sys/netinet/udp_usrreq.c +++ b/sys/netinet/udp_usrreq.c @@ -768,7 +768,7 @@ udp_getcred(SYSCTL_HANDLER_ARGS) error = cr_canseesocket(req->td->td_ucred, inp->inp_socket); if (error == 0) - cru2x(inp->inp_socket->so_cred, &xuc); + cru2x(inp->inp_cred, &xuc); INP_RUNLOCK(inp); } else { INP_INFO_RUNLOCK(&udbinfo); |