diff options
author | Roland McGrath <roland@gnu.org> | 2001-06-16 20:23:52 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2001-06-16 20:23:52 +0000 |
commit | d4a374818f3931874c4de35270e80f6c7204ba14 (patch) | |
tree | 7caf11f217c0f9facc3ab230f8ae47816a741728 /trans/magic.c | |
parent | 0a746fb19a663f41794f4c6ed6e63d4c5ce714b4 (diff) |
2001-04-01 Neal H Walfield <neal@cs.uml.edu>
* magic.c (trivfs_S_dir_lookup): Use iohelp_dup_iouser
as per the new semantics.
Diffstat (limited to 'trans/magic.c')
-rw-r--r-- | trans/magic.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/trans/magic.c b/trans/magic.c index 824bd5bd..e207ca6f 100644 --- a/trans/magic.c +++ b/trans/magic.c @@ -214,7 +214,9 @@ trivfs_S_dir_lookup (struct trivfs_protid *cred, /* Execute the open */ dotdot = (mach_port_t) cred->po->hook; - user = iohelp_dup_iouser (cred->user); + err = iohelp_dup_iouser (&user, cred->user); + if (err) + return err; err = magic_open (cred->po->cntl, user, dotdot, flags, cred->realnode, &newcred); if (err) |