X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=include%2Fwimlib%2Ferror.h;fp=include%2Fwimlib%2Ferror.h;h=8d02120bf36fb3b1db606738fd5c2b522441d68b;hp=8dd48c180c29091bf6a1d4dfce00f01cd7f55fdf;hb=e176e9731e696562bab8de7b9bd34c019deef3e8;hpb=26c7f8bb32e4a32001d409f1693e0df016270ed5 diff --git a/include/wimlib/error.h b/include/wimlib/error.h index 8dd48c18..8d02120b 100644 --- a/include/wimlib/error.h +++ b/include/wimlib/error.h @@ -42,7 +42,7 @@ extern void wimlib_warning_with_errno(const tchar *format, ...) _format_attribute(printf, 1, 2) _cold_attribute; # define ERROR(format, ...) wimlib_error(T(format), ## __VA_ARGS__) -# define ERROR_WITH_ERRNO(format, ...) wimlib_error_with_errno(T(format), ## __VA_ARGS__) +# define ERROR_WITH_ERRNO(format, ...) wimlib_error_with_errno(T(format), ## __VA_ARGS__) # define WARNING(format, ...) wimlib_warning(T(format), ## __VA_ARGS__) # define WARNING_WITH_ERRNO(format, ...) wimlib_warning_with_errno(T(format), ## __VA_ARGS__) extern bool wimlib_print_errors; @@ -68,7 +68,7 @@ extern void wimlib_debug(const tchar *file, int line, const char *func, const tchar *format, ...); # define DEBUG(format, ...) \ - wimlib_debug(T(__FILE__), __LINE__, __func__, T(format), ## __VA_ARGS__) + wimlib_debug(T(__FILE__), __LINE__, __func__, T(format), ## __VA_ARGS__) #else # define DEBUG(format, ...) dummy_tprintf(T(format), ## __VA_ARGS__)