[PATCH] i8k: fix 'power_status' sysfs permissions

From: Dmitry Torokhov
Date: Thu Nov 25 2004 - 01:32:20 EST


Well, that was a stupid mistake on my part.

--
Dmitry


===================================================================


ChangeSet@xxxxxx, 2004-11-25 00:30:50-05:00, dtor_core@xxxxxxxxxxxxx
I8K: Fix power_status parameter sysfs permissions.

Signed-off-by: Dmitry Torokhov <dtor@xxxxxxx>


i8k.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)


===================================================================



diff -Nru a/drivers/char/i8k.c b/drivers/char/i8k.c
--- a/drivers/char/i8k.c 2004-11-25 01:26:46 -05:00
+++ b/drivers/char/i8k.c 2004-11-25 01:26:46 -05:00
@@ -78,7 +78,7 @@
MODULE_PARM_DESC(restricted, "Allow fan control if SYS_ADMIN capability set");

static int power_status;
-module_param(power_status, bool, 600);
+module_param(power_status, bool, 0600);
MODULE_PARM_DESC(power_status, "Report power status in /proc/i8k");

static ssize_t i8k_read(struct file *, char __user *, size_t, loff_t *);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/