From: Pierre-Marc Fournier Date: Thu, 1 Oct 2009 22:23:54 +0000 (-0400) Subject: ustd: fix warning X-Git-Tag: v0.1~108 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=dc2f5ffa5138aebbe520eebac1e038cff653fbe7;p=ust.git ustd: fix warning --- diff --git a/ustd/ustd.c b/ustd/ustd.c index 6f4acf8..adbc3a9 100644 --- a/ustd/ustd.c +++ b/ustd/ustd.c @@ -69,7 +69,7 @@ int get_subbuffer(struct buffer_info *buf) asprintf(&send_msg, "get_subbuffer %s", buf->name); result = ustcomm_send_request(&buf->conn, send_msg, &received_msg); - if(result == -1 && errno == EPIPE || result == 0) { + if((result == -1 && errno == EPIPE) || result == 0) { DBG("app died while being traced"); retval = GET_SUBBUF_DIED; goto end;