swap printk and declaration for compile error starting with
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 4 Mar 2013 07:14:30 +0000 (08:14 +0100)
committerSapan Bhatia <gwsapan@gmail.com>
Tue, 9 Apr 2013 01:46:42 +0000 (21:46 -0400)
f18 / kernel 3.8.1-201 on 2013-03-04

procprotect.c

index e22355a..2e8cd13 100644 (file)
@@ -289,11 +289,12 @@ int procfile_write(struct file *file, const char *buffer, unsigned long count, v
 
 static int __init procprotect_init(void)
 {
-    printk("Procprotect: starting procprotect version %s with ACLs at path %s.\n",
-            VERSION_STR, aclpath);
     int ret;
     int i;
 
+    printk("Procprotect: starting procprotect version %s with ACLs at path %s.\n",
+            VERSION_STR, aclpath);
+
     for(i=0;i<HASH_SIZE;i++) {
         INIT_HLIST_HEAD(&procprotect_hash[i]);
     }