X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_eal%2Fcommon%2Finclude%2Frte_debug.h;h=7edd4b89ccd163060d5306ec06bc85ac23a496c6;hb=df3ff6be2b33faea3edf3c112b9bdc5b74d6f684;hp=272df494c3423df3e7d7caa4171beff29ee2cb91;hpb=369991d997e4abdee355e19ffbb41a4d246cafa2;p=dpdk.git diff --git a/lib/librte_eal/common/include/rte_debug.h b/lib/librte_eal/common/include/rte_debug.h index 272df494c3..7edd4b89cc 100644 --- a/lib/librte_eal/common/include/rte_debug.h +++ b/lib/librte_eal/common/include/rte_debug.h @@ -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 }