diff options
Diffstat (limited to 'fs/open.c')
-rw-r--r-- | fs/open.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1081,7 +1081,7 @@ asmlinkage long sys_openat(int dfd, const char __user *filename, int flags, | |||
1081 | * For backward compatibility? Maybe this should be moved | 1081 | * For backward compatibility? Maybe this should be moved |
1082 | * into arch/i386 instead? | 1082 | * into arch/i386 instead? |
1083 | */ | 1083 | */ |
1084 | asmlinkage long sys_creat(const char __user * pathname, int mode) | 1084 | SYSCALL_DEFINE2(creat, const char __user *, pathname, int, mode) |
1085 | { | 1085 | { |
1086 | return sys_open(pathname, O_CREAT | O_WRONLY | O_TRUNC, mode); | 1086 | return sys_open(pathname, O_CREAT | O_WRONLY | O_TRUNC, mode); |
1087 | } | 1087 | } |