X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/e952f681dbda9e8568206281bf588f3455924a20..593dd3dd550806fd68470513d4ee224d717c90e2:/Bootloaders/HID/HostLoaderApp/hid_bootloader_cli.c?ds=inline diff --git a/Bootloaders/HID/HostLoaderApp/hid_bootloader_cli.c b/Bootloaders/HID/HostLoaderApp/hid_bootloader_cli.c index cdee1c30c..4c3277649 100644 --- a/Bootloaders/HID/HostLoaderApp/hid_bootloader_cli.c +++ b/Bootloaders/HID/HostLoaderApp/hid_bootloader_cli.c @@ -929,6 +929,8 @@ int printf_verbose(const char *format, ...) fflush(stdout); return r; } + va_end(ap); + return 0; } @@ -948,6 +950,8 @@ void die(const char *str, ...) va_start(ap, str); vfprintf(stderr, str, ap); fprintf(stderr, "\n"); + va_end(ap); + exit(1); }