[Linux-cluster] [PATCH] trivial debug print fix for fence/agents/xvm/
Fabio M. Di Nitto
fdinitto at redhat.com
Tue Aug 26 06:58:26 UTC 2008
Lon, looks good to me..
Fabio
On Tue, 5 Aug 2008, Satoru SATOH wrote:
> Hello,
>
> Here is a trivial patch to add missing line breaks in some debug print
> lines for fence_xvm*.
>
> - satoru
>
>
> fence/agents/xvm/simple_auth.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/fence/agents/xvm/simple_auth.c b/fence/agents/xvm/simple_auth.c
> index 07bc261..a1f04f4 100644
> --- a/fence/agents/xvm/simple_auth.c
> +++ b/fence/agents/xvm/simple_auth.c
> @@ -381,7 +381,7 @@ read_key_file(char *file, char *key, size_t max_len)
> }
>
> if (nread == 0) {
> - dbg_printf(3, "Stopped reading @ %d bytes",
> + dbg_printf(3, "Stopped reading @ %d bytes\n",
> (int)max_len-remain);
> break;
> }
> @@ -391,7 +391,7 @@ read_key_file(char *file, char *key, size_t max_len)
> }
>
> close(fd);
> - dbg_printf(3, "Actual key length = %d bytes", (int)max_len-remain);
> + dbg_printf(3, "Actual key length = %d bytes\n", (int)max_len-remain);
>
> return (int)(max_len - remain);
> }
>
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster
>
--
I'm going to make him an offer he can't refuse.
More information about the Linux-cluster
mailing list