]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/common/include/rte_debug.h
eal: simplify meson build of common directory
[dpdk.git] / lib / librte_eal / common / include / rte_debug.h
index 272df494c3423df3e7d7caa4171beff29ee2cb91..7edd4b89ccd163060d5306ec06bc85ac23a496c6 100644 (file)
@@ -39,7 +39,7 @@ void rte_dump_registers(void);
  *
  * Display the format string and its expanded arguments (printf-like).
  *
- * In a linuxapp environment, this function dumps the stack and calls
+ * In a linux environment, this function dumps the stack and calls
  * abort() resulting in a core dump if enabled.
  *
  * The function never returns.
@@ -73,7 +73,7 @@ void __rte_panic(const char *funcname , const char *format, ...)
 #endif
 #endif
        __attribute__((noreturn))
-       __attribute__((format(printf, 2, 3)));
+       __rte_format_printf(2, 3);
 
 #ifdef __cplusplus
 }