Skip to contentSkip to conversation

NFS: add newline to kernel warning message in auth_gss code

PATCH In review James Morris 2 participants 2 messages Dec 26, 2007 – Jan 2, 2008 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 NFS: add newline to kernel warning message in auth_gss code

Add newline to kernel warning message in gss_create().

---
 net/sunrpc/auth_gss/auth_gss.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
net/sunrpc/auth_gss/auth_gss.c +1 -1
index a6e57d1..1f2d85e 100644
@@ -625,7 +625,7 @@ gss_create(struct rpc_clnt *clnt, rpc_authflavor_t flavor)
 	err = -EINVAL;
 	gss_auth->mech = gss_mech_get_by_pseudoflavor(flavor);
 	if (!gss_auth->mech) {
-		printk(KERN_WARNING "%s: Pseudoflavor %d not found!",
+		printk(KERN_WARNING "%s: Pseudoflavor %d not found!\n",
 				__FUNCTION__, flavor);
 		goto err_free;
 	}
Signature · 1 line
1.5.3.7

A message that is not in the archive (sent off-list or not yet received): Xine.LNX.4.64.0712261117290.16520-RC8Ws/[email protected]

#2 lore raw
Quoted 12 lines · James Morris

Add newline to kernel warning message in gss_create().

---
 net/sunrpc/auth_gss/auth_gss.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
net/sunrpc/auth_gss/auth_gss.c +0 -0
index a6e57d1..1f2d85e 100644

net/sunrpc/auth_gss/auth_gss.c gss_create(struct rpc_clnt *clnt, rpc_authflavor_t flavor) · line 631

Quoted 8 lines
net/sunrpc/auth_gss/auth_gss.c +1 -1
@@ -625,7 +625,7 @@ gss_create(struct rpc_clnt *clnt, rpc_authflavor_t flavor)
 	err = -EINVAL;
 	gss_auth->mech = gss_mech_get_by_pseudoflavor(flavor);
 	if (!gss_auth->mech) {
-		printk(KERN_WARNING "%s: Pseudoflavor %d not found!",
+		printk(KERN_WARNING "%s: Pseudoflavor %d not found!\n",
 				__FUNCTION__, flavor);
 		goto err_free;
 	}

Thanks James! Applied...

Trond