summaryrefslogtreecommitdiff
path: root/libdiskfs/file-exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/file-exec.c')
-rw-r--r--libdiskfs/file-exec.c2
1 files changed, 1 insertions, 1 deletions
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)