Mercurial > hg > fxanalyse
changeset 63:2320f5fc66aa
Fix varargs handling in DDS Fox driver error function
author | Daniele Nicolodi <daniele.nicolodi@obspm.fr> |
---|---|
date | Mon, 29 Oct 2012 14:43:48 +0100 |
parents | 53dbce5f0745 |
children | d6efe6fe6eb3 |
files | DDS_Fox.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/DDS_Fox.c Mon Oct 29 14:43:40 2012 +0100 +++ b/DDS_Fox.c Mon Oct 29 14:43:48 2012 +0100 @@ -47,7 +47,7 @@ void _error(const char *file, int line, const char *func, const char *frmt, ...) { va_list args; - va_start(args, line); + va_start(args, frmt); fprintf(stderr, "ERROR: %s:%d:%s: ", file, line, func); vfprintf(stderr, frmt, args); fprintf(stderr, "\n");