From 1cdc8c28d051eb4564c2ced70e17384444a8e1f4 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Sun, 13 May 2001 18:27:33 +0000 Subject: 2001-05-13 Marcus Brinkmann * file-exec.c: Initialize GID with st_gid rather than st_uid. --- libdiskfs/file-exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdiskfs/file-exec.c') diff --git a/libdiskfs/file-exec.c b/libdiskfs/file-exec.c index 45800506..9a4ca35f 100644 --- a/libdiskfs/file-exec.c +++ b/libdiskfs/file-exec.c @@ -87,7 +87,7 @@ diskfs_S_file_exec (struct protid *cred, mutex_lock (&np->lock); mode = np->dn_stat.st_mode; uid = np->dn_stat.st_uid; - gid = np->dn_stat.st_uid; + gid = np->dn_stat.st_gid; mutex_unlock (&np->lock); if (_diskfs_noexec) -- cgit v1.2.3