diff options
author | Kevin Lo <kevlo@FreeBSD.org> | 2012-05-29 01:48:06 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@FreeBSD.org> | 2012-05-29 01:48:06 +0000 |
commit | 544c5e5b533574625e9921209ee3ceb1ee3d22d0 (patch) | |
tree | ab9b314dc9e2edd5a771820aeac2cbe20228150c /sys/boot | |
parent | bebda077b136c9c051f070dc6ad0704f85025322 (diff) | |
download | src-544c5e5b533574625e9921209ee3ceb1ee3d22d0.tar.gz src-544c5e5b533574625e9921209ee3ceb1ee3d22d0.zip |
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
Notes
Notes:
svn path=/head/; revision=236213
Diffstat (limited to 'sys/boot')
-rw-r--r-- | sys/boot/i386/libi386/biospnp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/boot/i386/libi386/biospnp.c b/sys/boot/i386/libi386/biospnp.c index 8573e8541213..30e55fc893d0 100644 --- a/sys/boot/i386/libi386/biospnp.c +++ b/sys/boot/i386/libi386/biospnp.c @@ -276,6 +276,7 @@ biospnp_call(int func, const char *fmt, ...) break; } } + va_end(ap); /* BIOS segment last */ *(u_int16_t *)argp = pnp_Icheck->pnp_rmds; |