Make correct use of variadic macros

They previously used the stringify operator on the args parameter which
caused fprintf to print out garbage.

Change-Id: I3954e199828538e48a068189e884b9758da7efd5
diff --git a/libupgrade/hmx_upgrade_nvram.c b/libupgrade/hmx_upgrade_nvram.c
index 65387bc..c50ac75 100644
--- a/libupgrade/hmx_upgrade_nvram.c
+++ b/libupgrade/hmx_upgrade_nvram.c
@@ -96,8 +96,8 @@
                                    (*((unsigned char *)(q)+2) << 8) | \
                                    (*((unsigned char *)(q)+3)) )
 
-#define DEBUG_ERR(fmt, args...) fprintf(stderr, fmt, #args)
-#define DEBUG_INFO(fmt, args...) fprintf(stderr, fmt, #args)
+#define DEBUG_ERR(...) fprintf(stderr, __VA_ARGS__)
+#define DEBUG_INFO(...) fprintf(stderr, __VA_ARGS__)
 #define UNUSED(x) (void)(x)
 
 #define MAX_NVRAM_FILENAME_LENGTH       32