va_arg fix

This commit is contained in:
rsc 2004-06-17 03:33:33 +00:00
parent e66de6b077
commit 99dfa1dad2

View file

@ -64,7 +64,7 @@ threadsetname(char *fmt, ...)
free(t->cmdname);
va_start(arg, fmt);
t->cmdname = vsmprint(fmt, arg);
va_end(fmt);
va_end(arg);
/* Plan 9 only
if(p->nthreads == 1){