Simplify macros EFPRINTF and EFFLUSH. [0]
authorMarcelo Araujo <araujo@FreeBSD.org>
Tue, 29 May 2018 01:46:00 +0000 (01:46 +0000)
committerMarcelo Araujo <araujo@FreeBSD.org>
Tue, 29 May 2018 01:46:00 +0000 (01:46 +0000)
commit6dd8233d5da73727be6c065cfbf65dc304c100f1
tree6783af88e22f7eb2ad0d4826da7d17fd110b367e
parent4c72d794f0e95ea43dff190593060bba9d4f6565
Simplify macros EFPRINTF and EFFLUSH. [0]
Also stdarg(3) says that each invocation of va_start() must be paired
with a corresponding invocation of va_end() in the same function. [1]

Reported by: Coverity
CID: 1194318[0] and 1194332[1]
Discussed with: jhb
MFC after: 4 weeks.
Sponsored by: iXsystems Inc.
Differential Revision: https://reviews.freebsd.org/D15548
usr.sbin/bhyve/acpi.c