]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
dmesg: fix usage()
authorKarel Zak <kzak@redhat.com>
Wed, 30 Jan 2013 14:36:21 +0000 (15:36 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 30 Jan 2013 14:36:21 +0000 (15:36 +0100)
sys-utils/dmesg.c

index a307d847f3895e555605b47a0b40359883f291d7..48c121fe89d191601b75685faa9301b79acbae53 100644 (file)
@@ -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);
 }