2007-10-17 00:31:17

by Jason Uhlenkott

[permalink] [raw]
Subject: [PATCH] trivial: fix do_sys_open() prototype

Fix an argument name in do_sys_open()'s prototype.

Signed-off-by: Jason Uhlenkott <[email protected]>

Index: linux/include/linux/fs.h
===================================================================
--- linux.orig/include/linux/fs.h 2007-10-16 15:19:26.632794062 -0700
+++ linux/include/linux/fs.h 2007-10-16 16:46:38.000182413 -0700
@@ -1426,7 +1426,7 @@

extern int do_truncate(struct dentry *, loff_t start, unsigned int time_attrs,
struct file *filp);
-extern long do_sys_open(int fdf, const char __user *filename, int flags,
+extern long do_sys_open(int dfd, const char __user *filename, int flags,
int mode);
extern struct file *filp_open(const char *, int, int);
extern struct file * dentry_open(struct dentry *, struct vfsmount *, int);