summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdiskfs/file-set-trans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/file-set-trans.c b/libdiskfs/file-set-trans.c
index 4042cbce..7f3aa23e 100644
--- a/libdiskfs/file-set-trans.c
+++ b/libdiskfs/file-set-trans.c
@@ -194,7 +194,7 @@ diskfs_S_file_set_translator (struct protid *cred,
}
}
newmode = (np->dn_stat.st_mode & ~S_IFMT) | newmode;
- error = validate_mode_change (np, newmode);
+ error = diskfs_validate_mode_change (np, newmode);
if (!error)
{
np->dn_stat.st_mode = newmode;