plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 99dfa1dad2c7f43e6ff9ac8fb5df2d4bf3fd714d
parent e66de6b07736b88e3aa300640b862cc1c4f0d0a4
Author: rsc <devnull@localhost>
Date:   Thu, 17 Jun 2004 03:33:33 +0000

va_arg fix

Diffstat:
Msrc/libthread/id.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libthread/id.c b/src/libthread/id.c @@ -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){