hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/tools/lib/api/debug-internal.h
....@@ -10,11 +10,11 @@
1010 (func)("libapi: " fmt, ##__VA_ARGS__); \
1111 } while (0)
1212
13
-extern libapi_print_fn_t __pr_warning;
13
+extern libapi_print_fn_t __pr_warn;
1414 extern libapi_print_fn_t __pr_info;
1515 extern libapi_print_fn_t __pr_debug;
1616
17
-#define pr_warning(fmt, ...) __pr(__pr_warning, fmt, ##__VA_ARGS__)
17
+#define pr_warn(fmt, ...) __pr(__pr_warn, fmt, ##__VA_ARGS__)
1818 #define pr_info(fmt, ...) __pr(__pr_info, fmt, ##__VA_ARGS__)
1919 #define pr_debug(fmt, ...) __pr(__pr_debug, fmt, ##__VA_ARGS__)
2020