aboutsummaryrefslogtreecommitdiffstats
path: root/security/tomoyo/tomoyo.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/tomoyo/tomoyo.c')
-rw-r--r--security/tomoyo/tomoyo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/tomoyo/tomoyo.c b/security/tomoyo/tomoyo.c
index 7be732cadd47..95d3f9572237 100644
--- a/security/tomoyo/tomoyo.c
+++ b/security/tomoyo/tomoyo.c
@@ -142,7 +142,7 @@ static int tomoyo_path_mknod(struct path *parent, struct dentry *dentry,
142 default: 142 default:
143 goto no_dev; 143 goto no_dev;
144 } 144 }
145 return tomoyo_path_number3_perm(type, &path, perm, dev); 145 return tomoyo_mkdev_perm(type, &path, perm, dev);
146 no_dev: 146 no_dev:
147 switch (mode & S_IFMT) { 147 switch (mode & S_IFMT) {
148 case S_IFIFO: 148 case S_IFIFO: