mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 05:02:12 +00:00
9b85c2d450
If bad or unrecognised parameters are specified after JSON output is
requested, `usage()` will try to output null JSON object before the
writer is created.
To prevent this, create the writer as soon as the `--json` option is
parsed.
Fixes:
|
||
---|---|---|
.. | ||
bpftool | ||
bpf_asm.c | ||
bpf_dbg.c | ||
bpf_exp.l | ||
bpf_exp.y | ||
bpf_jit_disasm.c | ||
Makefile |