From: Masatake YAMATO Date: Thu, 22 Jun 2023 16:10:04 +0000 (+0900) Subject: lsfd: fix specifying wrong JSON typs when building the help message X-Git-Tag: v2.40-rc1~371^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=253c991da1a7d5b4f6a6ae1d209ed6ec11227456;p=thirdparty%2Futil-linux.git lsfd: fix specifying wrong JSON typs when building the help message Signed-off-by: Masatake YAMATO --- diff --git a/misc-utils/lsfd.c b/misc-utils/lsfd.c index b5a607c8f5..7672a026aa 100644 --- a/misc-utils/lsfd.c +++ b/misc-utils/lsfd.c @@ -1604,7 +1604,7 @@ static void __attribute__((__noreturn__)) usage(void) fprintf(out, " %16s %-10s%s\n", infos[i].name, infos[i].json_type == SCOLS_JSON_STRING? "": infos[i].json_type == SCOLS_JSON_ARRAY_STRING? "": - infos[i].json_type == SCOLS_JSON_ARRAY_STRING? "": + infos[i].json_type == SCOLS_JSON_ARRAY_NUMBER? "": infos[i].json_type == SCOLS_JSON_NUMBER? "": "", _(infos[i].help));