diff mbox

powerpc: numa: Fix decimal permissions

Message ID 1390933342.11756.12.camel@joe-AO722 (mailing list archive)
State Accepted
Commit 316d718827a9b546a95c50af5a4e3c2c8b953eee
Headers show

Commit Message

Joe Perches Jan. 28, 2014, 6:22 p.m. UTC
This should have been octal.

Signed-off-by: Joe Perches <joe@perches.com>
---
 arch/powerpc/mm/numa.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c
index 86a63de..30a42e2 100644
--- a/arch/powerpc/mm/numa.c
+++ b/arch/powerpc/mm/numa.c
@@ -1785,7 +1785,7 @@  static const struct file_operations topology_ops = {
 static int topology_update_init(void)
 {
 	start_topology_update();
-	proc_create("powerpc/topology_updates", 644, NULL, &topology_ops);
+	proc_create("powerpc/topology_updates", 0644, NULL, &topology_ops);
 
 	return 0;
 }