diff options
Diffstat (limited to 'libdiskfs/file-exec.c')
-rw-r--r-- | libdiskfs/file-exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/file-exec.c b/libdiskfs/file-exec.c index 452240c0..9572dbed 100644 --- a/libdiskfs/file-exec.c +++ b/libdiskfs/file-exec.c @@ -85,11 +85,11 @@ diskfs_S_file_exec (struct protid *cred, np = cred->po->np; - mutex_lock (&np->lock); + pthread_mutex_lock (&np->lock); mode = np->dn_stat.st_mode; uid = np->dn_stat.st_uid; gid = np->dn_stat.st_gid; - mutex_unlock (&np->lock); + pthread_mutex_unlock (&np->lock); if (_diskfs_noexec) RETURN (EACCES); |