efi_selftest: correct definition of efi_st_error
[oweals/u-boot.git] / include / efi_selftest.h
index beb662d4e1b84f90055fea86983b4484f2178e82..2f0992f06eee65ed62fea3d1b2c2c33cfaab0d46 100644 (file)
@@ -23,8 +23,8 @@
  * @...        format string followed by fields to print
  */
 #define efi_st_error(...) \
-       efi_st_printf("%s(%u):\nERROR: ", __FILE__, __LINE__); \
-       efi_st_printf(__VA_ARGS__) \
+       (efi_st_printf("%s(%u):\nERROR: ", __FILE__, __LINE__), \
+       efi_st_printf(__VA_ARGS__)) \
 
 /*
  * A test may be setup and executed at boottime,