[apparmor] [PATCH] AppArmor: drop redundant newline in initialization

Kees Cook kees at ubuntu.com
Tue Jun 29 17:03:10 BST 2010


aa_info_message() already adds a trailing newline, so it is not needed
here.

Signed-off-by: Kees Cook <kees.cook at canonical.com>
---
 security/apparmor/lsm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/security/apparmor/lsm.c b/security/apparmor/lsm.c
index b7e0de2..ad5ca29 100644
--- a/security/apparmor/lsm.c
+++ b/security/apparmor/lsm.c
@@ -1035,7 +1035,7 @@ static int __init apparmor_init(void)
 	int error;
 
 	if (!apparmor_enabled || !security_module_enable(&apparmor_ops)) {
-		aa_info_message("AppArmor disabled by boot time parameter\n");
+		aa_info_message("AppArmor disabled by boot time parameter");
 		apparmor_enabled = 0;
 		return 0;
 	}
-- 
1.7.1


-- 
Kees Cook
Ubuntu Security Team



More information about the AppArmor mailing list