From 2e88758926e7c4560f2255b4aeb6a95bbeb5460f Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Mon, 4 Mar 2013 08:14:30 +0100 Subject: [PATCH] swap printk and declaration for compile error starting with f18 / kernel 3.8.1-201 on 2013-03-04 --- procprotect.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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