diff options
| author | Masatake YAMATO <yamato@redhat.com> | 2023-10-25 02:21:45 +0900 |
|---|---|---|
| committer | Masatake YAMATO <yamato@redhat.com> | 2023-10-25 02:21:45 +0900 |
| commit | bad4c729483ab31bb1cadc541817c139f41fb8aa (patch) | |
| tree | 402b225cf473669053486d1edfcc2bab7806785e /misc-utils/lsblk.c | |
| parent | 38b8eac6eb9a372e0a2b9c8f2b4abb816c6f17ee (diff) | |
| download | util-linux-bad4c729483ab31bb1cadc541817c139f41fb8aa.tar.gz | |
Make the ways of using output stream consistent in usage()
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Diffstat (limited to 'misc-utils/lsblk.c')
| -rw-r--r-- | misc-utils/lsblk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc-utils/lsblk.c b/misc-utils/lsblk.c index d5012de8a9..da9438b9fd 100644 --- a/misc-utils/lsblk.c +++ b/misc-utils/lsblk.c @@ -2016,14 +2016,14 @@ static void __attribute__((__noreturn__)) usage(void) fputs(_(" -z, --zoned print zone related information\n"), out); fputs(_(" --sysroot <dir> use specified directory as system root\n"), out); fputs(USAGE_SEPARATOR, out); - printf(USAGE_HELP_OPTIONS(22)); + fprintf(out, USAGE_HELP_OPTIONS(22)); fputs(USAGE_COLUMNS, out); for (i = 0; i < ARRAY_SIZE(infos); i++) fprintf(out, " %12s %s\n", infos[i].name, _(infos[i].help)); - printf(USAGE_MAN_TAIL("lsblk(8)")); + fprintf(out, USAGE_MAN_TAIL("lsblk(8)")); exit(EXIT_SUCCESS); } |
