logging: strip down and clean `log.h` and `log.c`
[babeltrace.git] / src / common / common.h
index 1da6b3c263907fc0d288cf25fe88c7a4fa731c7b..bf3a83887b3fea8b9cea8a54d5b92a72af806151 100644 (file)
@@ -413,8 +413,8 @@ ssize_t bt_common_read(int fd, void *buf, size_t count,
                                /* retry operation */
                                continue;
                        } else {
-#ifdef BT_LOG_WRITE_ERRNO_CUR_LVL
-                               BT_LOG_WRITE_ERRNO_CUR_LVL(BT_LOG_ERROR,
+#ifdef BT_LOG_WRITE_ERRNO_PRINTF_CUR_LVL
+                               BT_LOG_WRITE_ERRNO_PRINTF_CUR_LVL(BT_LOG_ERROR,
                                        log_level, BT_LOG_TAG,
                                        "Error while reading", ": fd=%d", fd);
 #endif
This page took 0.024134 seconds and 4 git commands to generate.