lint: fix va_end_missing in cpu/native/syscalls.c

This commit is contained in:
Hinnerk van Bruinehsen 2014-10-30 17:45:16 +01:00
parent d1775a1ad1
commit 0e065cff2c

View File

@ -320,6 +320,7 @@ void err(int eval, const char *fmt, ...)
va_list argp; va_list argp;
va_start(argp, fmt); va_start(argp, fmt);
verr(eval, fmt, argp); verr(eval, fmt, argp);
va_end(argp);
} }
void errx(int eval, const char *fmt, ...) void errx(int eval, const char *fmt, ...)
@ -327,6 +328,7 @@ void errx(int eval, const char *fmt, ...)
va_list argp; va_list argp;
va_start(argp, fmt); va_start(argp, fmt);
verrx(eval, fmt, argp); verrx(eval, fmt, argp);
va_end(argp);
} }
int getpid(void) int getpid(void)