From: Michael Jeanson Date: Tue, 19 Apr 2016 20:34:55 +0000 (-0400) Subject: Typo: catched -> caught X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=commitdiff_plain;h=40063ead9b2f76ae2b442fcca98bb5b50ab9d2a1 Typo: catched -> caught Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-consumerd/lttng-consumerd.c b/src/bin/lttng-consumerd/lttng-consumerd.c index 87ffb05dd..00660fcd6 100644 --- a/src/bin/lttng-consumerd/lttng-consumerd.c +++ b/src/bin/lttng-consumerd/lttng-consumerd.c @@ -101,7 +101,7 @@ static void sighandler(int sig) /* * Ignore SIGPIPE because it should not stop the consumer whenever a - * SIGPIPE is catched through a FD operation. + * SIGPIPE is caught through a FD operation. */ if (sig == SIGPIPE) { return; diff --git a/src/common/consumer/consumer.c b/src/common/consumer/consumer.c index d57271c3a..cb05a1eb4 100644 --- a/src/common/consumer/consumer.c +++ b/src/common/consumer/consumer.c @@ -2261,10 +2261,10 @@ restart: DBG("Metadata poll return from wait with %d fd(s)", LTTNG_POLL_GETNB(&events)); health_poll_exit(); - DBG("Metadata event catched in thread"); + DBG("Metadata event caught in thread"); if (ret < 0) { if (errno == EINTR) { - ERR("Poll EINTR catched"); + ERR("Poll EINTR caught"); goto restart; } if (LTTNG_POLL_GETNB(&events) == 0) { @@ -2844,10 +2844,10 @@ restart: DBG("Channel poll return from wait with %d fd(s)", LTTNG_POLL_GETNB(&events)); health_poll_exit(); - DBG("Channel event catched in thread"); + DBG("Channel event caught in thread"); if (ret < 0) { if (errno == EINTR) { - ERR("Poll EINTR catched"); + ERR("Poll EINTR caught"); goto restart; } if (LTTNG_POLL_GETNB(&events) == 0) {