diff options
author | trasz <trasz@FreeBSD.org> | 2009-12-02 18:09:22 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2009-12-02 18:09:22 +0000 |
commit | fe87d5a624a046f9e09b3e96d9340c1a661a8a51 (patch) | |
tree | 408d45acfebbe210577bec424efb479db6fcb445 /sys/fs | |
parent | 5ae715144339bdbb9ce9b2e4dc88331857efe88f (diff) | |
download | FreeBSD-src-fe87d5a624a046f9e09b3e96d9340c1a661a8a51.zip FreeBSD-src-fe87d5a624a046f9e09b3e96d9340c1a661a8a51.tar.gz |
Don't use ap->a_td->td_ucred when we were passed ap->a_cred.
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/portalfs/portal_vnops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/portalfs/portal_vnops.c b/sys/fs/portalfs/portal_vnops.c index 8d30ebb..64e5afd 100644 --- a/sys/fs/portalfs/portal_vnops.c +++ b/sys/fs/portalfs/portal_vnops.c @@ -246,7 +246,7 @@ portal_open(ap) /* * Create a new socket. */ - error = socreate(AF_UNIX, &so, SOCK_STREAM, 0, ap->a_td->td_ucred, + error = socreate(AF_UNIX, &so, SOCK_STREAM, 0, ap->a_cred, ap->a_td); if (error) goto bad; |