mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
va_arg fix
This commit is contained in:
parent
e66de6b077
commit
99dfa1dad2
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ threadsetname(char *fmt, ...)
|
||||||
free(t->cmdname);
|
free(t->cmdname);
|
||||||
va_start(arg, fmt);
|
va_start(arg, fmt);
|
||||||
t->cmdname = vsmprint(fmt, arg);
|
t->cmdname = vsmprint(fmt, arg);
|
||||||
va_end(fmt);
|
va_end(arg);
|
||||||
|
|
||||||
/* Plan 9 only
|
/* Plan 9 only
|
||||||
if(p->nthreads == 1){
|
if(p->nthreads == 1){
|
||||||
|
|
Loading…
Reference in a new issue