X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fcompat%2Fsocket.h;h=4715677e0a043d71b8c86d073106eb9764ae16b0;hb=71436ae48cd2fcfcc59ae9a7da909e29a191145c;hp=7452990ff0850c018995d44d271ed9f53bca9ad6;hpb=78c888d139a40b58b10a2c92829cbb2c814ad766;p=babeltrace.git diff --git a/src/compat/socket.h b/src/compat/socket.h index 7452990f..4715677e 100644 --- a/src/compat/socket.h +++ b/src/compat/socket.h @@ -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;