public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dmesg: fix typo
@ 2013-01-26 15:42 Sami Kerola
  2013-01-30 15:01 ` Karel Zak
  0 siblings, 1 reply; 2+ messages in thread
From: Sami Kerola @ 2013-01-26 15:42 UTC (permalink / raw)
  To: util-linux; +Cc: kerolasa

My mistake in commit fbbc4c88d5273c46db065594493261eb9bb1a2c4.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
---
 sys-utils/dmesg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-utils/dmesg.c b/sys-utils/dmesg.c
index a307d84..48c121f 100644
--- a/sys-utils/dmesg.c
+++ b/sys-utils/dmesg.c
@@ -236,7 +236,7 @@ static void __attribute__((__noreturn__)) usage(FILE *out)
 		fprintf(stderr, " %7s - %s\n",
 			level_names[i].name,
 			_(level_names[i].help));
-	fputc(USAGE_SEPARATOR, out);
+	fputs(USAGE_SEPARATOR, out);
 	fprintf(out, USAGE_MAN_TAIL("dmesg(q)"));
 	exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS);
 }
-- 
1.8.1.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] dmesg: fix typo
  2013-01-26 15:42 [PATCH] dmesg: fix typo Sami Kerola
@ 2013-01-30 15:01 ` Karel Zak
  0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2013-01-30 15:01 UTC (permalink / raw)
  To: Sami Kerola; +Cc: util-linux

On Sat, Jan 26, 2013 at 03:42:26PM +0000, Sami Kerola wrote:
> My mistake in commit fbbc4c88d5273c46db065594493261eb9bb1a2c4.
> 
> Signed-off-by: Sami Kerola <kerolasa@iki.fi>
> ---
>  sys-utils/dmesg.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/sys-utils/dmesg.c b/sys-utils/dmesg.c
> index a307d84..48c121f 100644
> --- a/sys-utils/dmesg.c
> +++ b/sys-utils/dmesg.c
> @@ -236,7 +236,7 @@ static void __attribute__((__noreturn__)) usage(FILE *out)
>  		fprintf(stderr, " %7s - %s\n",
>  			level_names[i].name,
>  			_(level_names[i].help));
> -	fputc(USAGE_SEPARATOR, out);
> +	fputs(USAGE_SEPARATOR, out);

 Ah.. already fixed ;-)

    Karel

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-30 15:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-26 15:42 [PATCH] dmesg: fix typo Sami Kerola
2013-01-30 15:01 ` Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox