Cleanup: bt namespace for compat strerror_r
[babeltrace.git] / include / babeltrace / babeltrace-internal.h
index 2f15a681a8db5ccdc550e9f8ba37d13474972295..6384eee007f4d2bf922ab4a2d77dc253a49f9346 100644 (file)
@@ -84,14 +84,14 @@ extern int babeltrace_verbose, babeltrace_debug;
 #define _bt_printf_perror(fp, fmt, args...)                            \
        ({                                                              \
                char buf[PERROR_BUFLEN] = "Error in strerror_r()";      \
-               compat_strerror_r(errno, buf, sizeof(buf));             \
+               bt_strerror_r(errno, buf, sizeof(buf));         \
                _bt_printfe(fp, "error", buf, fmt, ## args);            \
        })
 
 #define _bt_printfl_perror(fp, lineno, fmt, args...)                   \
        ({                                                              \
                char buf[PERROR_BUFLEN] = "Error in strerror_r()";      \
-               compat_strerror_r(errno, buf, sizeof(buf));             \
+               bt_strerror_r(errno, buf, sizeof(buf));         \
                _bt_printfle(fp, "error", lineno, buf, fmt, ## args);   \
        })
 
This page took 0.023624 seconds and 4 git commands to generate.