From: Thierry Parmentelat 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/?p=procprotect.git;a=commitdiff_plain;h=2e88758926e7c4560f2255b4aeb6a95bbeb5460f 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