variadic function: fix syntax
Change-Id: If7cb720049169b99e6735a792534476281b26df1
diff --git a/twcommon.h b/twcommon.h
index 0455fc6..0ac0729 100644
--- a/twcommon.h
+++ b/twcommon.h
@@ -1,5 +1,5 @@
/*
- Copyright 2017 TeamWin
+ Copyright 2024 TeamWin
This file is part of TWRP/TeamWin Recovery Project.
TWRP is free software: you can redistribute it and/or modify
@@ -34,7 +34,7 @@
#define gui_print(...) printf( __VA_ARGS__ )
#endif
-#define STRINGIFY(x...) #x
+#define STRINGIFY(...) #__VA_ARGS__
#define EXPAND(x) STRINGIFY(x)
#ifdef __cplusplus