From dba531136c64a393dbef13eb2fc2c9b72200a2fd Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Mon, 19 Jun 1995 21:02:09 +0000 Subject: Include (diskfs_S_file_set_translator): Fix typo. --- libdiskfs/file-set-trans.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libdiskfs') diff --git a/libdiskfs/file-set-trans.c b/libdiskfs/file-set-trans.c index 9f3379c8..43665dcc 100644 --- a/libdiskfs/file-set-trans.c +++ b/libdiskfs/file-set-trans.c @@ -18,6 +18,7 @@ #include "priv.h" #include "fs_S.h" #include +#include /* Implement file_set_translator as described in . */ kern_return_t @@ -75,9 +76,10 @@ diskfs_S_file_set_translator (struct protid *cred, { mach_port_t control; - control = fshelp_get_active (&np->transbox); + error = fshelp_fetch_control (&np->transbox, &control); mutex_unlock (&np->lock); - error = fsys_goaway (control, killtrans_flags); + if (!error) + error = fsys_goaway (control, killtrans_flags); if (error) return error; mutex_lock (&np->lock); -- cgit v1.2.3