summaryrefslogtreecommitdiff
path: root/libdiskfs/file-set-trans.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-08-30 18:06:10 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-08-30 18:06:10 +0000
commite5aeffd17ee7ed85bf1ee94cee9e31b067199ac3 (patch)
treef339b86c8637dc179c7ee2def4a0a90c846daaf9 /libdiskfs/file-set-trans.c
parent0a747a54de545d4697583b07578d06552b2332b4 (diff)
Formerly file-set-trans.c.~13~
Diffstat (limited to 'libdiskfs/file-set-trans.c')
-rw-r--r--libdiskfs/file-set-trans.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/file-set-trans.c b/libdiskfs/file-set-trans.c
index e60f0fe4..3729fdad 100644
--- a/libdiskfs/file-set-trans.c
+++ b/libdiskfs/file-set-trans.c
@@ -162,8 +162,8 @@ diskfs_S_file_set_translator (struct protid *cred,
/* Set active translator */
if (active_flags & FS_TRANS_SET)
{
- if (existing != MACH_PORT_NULL)
- fshelp_set_control (&np->translator, existing);
+ if (active != MACH_PORT_NULL)
+ fshelp_set_control (&np->translator, active);
else
/* Should have been cleared above. */
assert (np->translator.control == MACH_PORT_NULL);