From: Thierry Parmentelat <thierry.parmentelat@inria.fr>
Date: Mon, 4 Mar 2013 07:14:30 +0000 (+0100)
Subject: swap printk and declaration for compile error starting with
X-Git-Tag: procprotect-0.3-2~4^2^2
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=2e88758926e7c4560f2255b4aeb6a95bbeb5460f;p=procprotect.git

swap printk and declaration for compile error starting with
f18 / kernel 3.8.1-201 on 2013-03-04
---

diff --git a/procprotect.c b/procprotect.c
index 0c8f251..88e88be 100644
--- a/procprotect.c
+++ b/procprotect.c
@@ -283,11 +283,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]);
     }