logging: strip down and clean `log.h` and `log.c`
[babeltrace.git] / src / compat / socket.h
index 7452990ff0850c018995d44d271ed9f53bca9ad6..4715677e0a043d71b8c86d073106eb9764ae16b0 100644 (file)
@@ -36,8 +36,8 @@ int bt_socket_init(int log_level BT_SOCKET_LOG_LEVEL_UNUSED_ATTR)
 
        ret = WSAStartup(verreq, &wsa);
        if (ret != 0) {
-#ifdef BT_LOG_WRITE_CUR_LVL
-               BT_LOG_WRITE_CUR_LVL(BT_LOG_ERROR, log_level, BT_LOG_TAG,
+#ifdef BT_LOG_WRITE_PRINTF_CUR_LVL
+               BT_LOG_WRITE_PRINTF_CUR_LVL(BT_LOG_ERROR, log_level, BT_LOG_TAG,
                                "Winsock init failed with error: %d", ret);
 #endif
                goto end;
This page took 0.024018 seconds and 4 git commands to generate.