sysctl: use umode_t for table permissions

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2011-07-26 03:47:31 -04:00
parent dba19c6064
commit 36fcb589e7
2 changed files with 2 additions and 2 deletions

View File

@@ -6480,7 +6480,7 @@ static void sd_free_ctl_entry(struct ctl_table **tablep)
static void
set_table_entry(struct ctl_table *entry,
const char *procname, void *data, int maxlen,
mode_t mode, proc_handler *proc_handler)
umode_t mode, proc_handler *proc_handler)
{
entry->procname = procname;
entry->data = data;