Use fprintf instead of printf and pass the FILE handle in json_do_start().
authorclaudio <claudio@openbsd.org>
Wed, 26 Apr 2023 19:14:54 +0000 (19:14 +0000)
committerclaudio <claudio@openbsd.org>
Wed, 26 Apr 2023 19:14:54 +0000 (19:14 +0000)
commit644f9c42bb6eab994ae472dd779a76bccf2be2e8
tree353dcbc852ebe1e30940cb05e4b22ad7df1f97b1
parent647126f042fea225cb29ff10bdd71981facc4d2f
Use fprintf instead of printf and pass the FILE handle in json_do_start().
OK tb@
usr.sbin/bgpctl/json.c
usr.sbin/bgpctl/json.h
usr.sbin/bgpctl/output_json.c