X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=libust%2Flttng-ust-comm.c;h=6bf9e2b5b350ebb2936507a054a1236c578f9b7c;hb=a51070bbd35a914f8bf83d774ea92c23e3e059b4;hp=858e92c9b513c3bfb79a844e37d1cc315c1b968b;hpb=959ad2f13fd45eb91c8f69f34618895f44e3bc18;p=ust.git diff --git a/libust/lttng-ust-comm.c b/libust/lttng-ust-comm.c index 858e92c..6bf9e2b 100644 --- a/libust/lttng-ust-comm.c +++ b/libust/lttng-ust-comm.c @@ -641,7 +641,7 @@ restart: */ if (sock_info->root_handle == -1) { ret = lttng_abi_create_root_handle(); - if (ret) { + if (ret < 0) { ERR("Error creating root handle"); ust_unlock(); goto quit;