diff options
| author | Garrett D'Amore <garrett@damore.org> | 2019-05-07 20:36:22 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2019-05-07 20:36:22 -0700 |
| commit | 7eaccabfef35774b13da215a53736d3b7956a592 (patch) | |
| tree | a0315890d948a740d296cab2dfe8bf060bce5853 /src | |
| parent | 2b87c219ca07aebcf6e8ff02009dca88babc04c3 (diff) | |
| download | nng-7eaccabfef35774b13da215a53736d3b7956a592.tar.gz nng-7eaccabfef35774b13da215a53736d3b7956a592.tar.bz2 nng-7eaccabfef35774b13da215a53736d3b7956a592.zip | |
posix va_start incorrect
Diffstat (limited to 'src')
| -rw-r--r-- | src/platform/posix/posix_debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platform/posix/posix_debug.c b/src/platform/posix/posix_debug.c index 80f37225..c44c2075 100644 --- a/src/platform/posix/posix_debug.c +++ b/src/platform/posix/posix_debug.c @@ -27,7 +27,7 @@ void nni_plat_printf(const char *fmt, ...) { va_list ap; - va_start(ap, ap); + va_start(ap, fmt); (void) vprintf(fmt, ap); va_end(ap); } |
