summaryrefslogtreecommitdiffstats
path: root/sys-utils/dmesg.c
diff options
context:
space:
mode:
authorKarel Zak2013-01-30 15:36:21 +0100
committerKarel Zak2013-01-30 15:36:21 +0100
commit0a86a1a66cd4a81cd5982ebd2c6e192ca5e47fc2 (patch)
tree6079dd0533337c1109ff06e0a09946fc1fce8449 /sys-utils/dmesg.c
parentfsck: add "--" to usage() (diff)
downloadkernel-qcow2-util-linux-0a86a1a66cd4a81cd5982ebd2c6e192ca5e47fc2.tar.gz
kernel-qcow2-util-linux-0a86a1a66cd4a81cd5982ebd2c6e192ca5e47fc2.tar.xz
kernel-qcow2-util-linux-0a86a1a66cd4a81cd5982ebd2c6e192ca5e47fc2.zip
dmesg: fix usage()
Diffstat (limited to 'sys-utils/dmesg.c')
-rw-r--r--sys-utils/dmesg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/dmesg.c b/sys-utils/dmesg.c
index a307d847f..48c121fe8 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);
}