2007-12-26 00:21:03

by James Morris

[permalink] [raw]
Subject: [PATCH] NFS: add newline to kernel warning message in auth_gss code

Add newline to kernel warning message in gss_create().

Signed-off-by: James Morris <[email protected]>
---
net/sunrpc/auth_gss/auth_gss.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/sunrpc/auth_gss/auth_gss.c b/net/sunrpc/auth_gss/auth_gss.c
index a6e57d1..1f2d85e 100644
--- a/net/sunrpc/auth_gss/auth_gss.c
+++ b/net/sunrpc/auth_gss/auth_gss.c
@@ -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;
}
--
1.5.3.7




2008-01-02 19:05:03

by Trond Myklebust

[permalink] [raw]
Subject: Re: [PATCH] NFS: add newline to kernel warning message in auth_gss code


On Wed, 2007-12-26 at 11:20 +1100, James Morris wrote:
> Add newline to kernel warning message in gss_create().
>
> Signed-off-by: James Morris <[email protected]>
> ---
> net/sunrpc/auth_gss/auth_gss.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/net/sunrpc/auth_gss/auth_gss.c b/net/sunrpc/auth_gss/auth_gss.c
> index a6e57d1..1f2d85e 100644
> --- a/net/sunrpc/auth_gss/auth_gss.c
> +++ b/net/sunrpc/auth_gss/auth_gss.c
> @@ -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