From: Michael Jeanson Date: Tue, 19 Apr 2016 20:34:55 +0000 (-0400) Subject: Typo: catched -> caught X-Git-Tag: v2.7.3~75 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=707341a7107a47e4cc5f1a325fdde7640cd05de5;p=lttng-tools.git 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 a56f02d1b..c22cdd0fa 100644 --- a/src/bin/lttng-consumerd/lttng-consumerd.c +++ b/src/bin/lttng-consumerd/lttng-consumerd.c @@ -103,7 +103,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.c b/src/common/consumer.c index db0e96223..9003005a0 100644 --- a/src/common/consumer.c +++ b/src/common/consumer.c @@ -2225,10 +2225,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) { @@ -2808,10 +2808,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) {