--- qemu/tests/linux-test.c 2018/04/24 16:47:57 1.1.1.2 +++ qemu/tests/linux-test.c 2018/04/24 17:21:54 1.1.1.4 @@ -14,8 +14,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * along with this program; if not, see . */ #include #include @@ -64,7 +63,7 @@ int __chk_error(const char *filename, in return ret; } -#define error(fmt, args...) error1(__FILE__, __LINE__, fmt, ##args) +#define error(fmt, ...) error1(__FILE__, __LINE__, fmt, ## __VA_ARGS__) #define chk_error(ret) __chk_error(__FILE__, __LINE__, (ret))