From dc5ef9fe1db299ccce946501b06b0dc4894cb354 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Thu, 3 Feb 1994 21:48:02 +0000 Subject: Formerly file-get-transcntl.c.~4~ --- libdiskfs/file-get-transcntl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libdiskfs/file-get-transcntl.c b/libdiskfs/file-get-transcntl.c index 7600dd9d..187cbc6f 100644 --- a/libdiskfs/file-get-transcntl.c +++ b/libdiskfs/file-get-transcntl.c @@ -31,13 +31,13 @@ diskfs_S_file_get_translator_cntl (struct protid *cred, np = cred->po->np; - if (!np->translator) + if (np->translator.control == MACH_PORT_NULL) error = ENXIO; else - error = isowner (np, cred); + error = diskfs_isowner (np, cred); if (!error) - *ctl = np->translator; + *ctl = np->translator.control; diskfs_nput (np); return error; -- cgit v1.2.3