]> git.openfabrics.org - ~ardavis/dapl.git/commit
fix reuse of va_list in debugging mode
authorPatrick Marchand Latifi <patrick.latifi@qlogic.com>
Sun, 24 Feb 2008 05:03:21 +0000 (21:03 -0800)
committerArlin Davis <arlin.r.davis@intel.com>
Thu, 28 Feb 2008 01:04:04 +0000 (17:04 -0800)
commit460aa6f089fcdb34d78af1c8391cbecbcc6b0db3
tree8820b175384fb48315f324627b7aa9fb5eb9efe0
parentda80af8c76f220508407a2e171c8b28b43b35bf9
fix reuse of va_list in debugging mode

Make sure we reinitialize the va_list since va_list is undefined
if a function traverses the va_list with va_arg.

This patch fixes the debugging case when both stdout and syslog
output is wanted.

Signed-off-by: Patrick Marchand Latifi <patrick.latifi@qlogic.com>
dapl/common/dapl_debug.c