X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fcmd.c;h=2aea2ea747d3639dc507144fed844ddf870ed453;hp=0f76ac71581935ab39c3c8fd57d1c29983aca2a2;hb=a9577b7628a85b064c3f249c3504bad989848b49;hpb=1e2d9dfa3a424f2f668e97e91b20786f0edfaed6 diff --git a/src/bin/lttng-sessiond/cmd.c b/src/bin/lttng-sessiond/cmd.c index 0f76ac715..2aea2ea74 100644 --- a/src/bin/lttng-sessiond/cmd.c +++ b/src/bin/lttng-sessiond/cmd.c @@ -2732,7 +2732,7 @@ int cmd_stop_trace(struct ltt_session *session) struct ltt_kernel_channel *kchan; struct ltt_kernel_session *ksession; struct ltt_ust_session *usess; - bool error_occured = false; + bool error_occurred = false; assert(session); @@ -2769,7 +2769,7 @@ int cmd_stop_trace(struct ltt_session *session) * This error should not prevent the user from stopping * the session. However, it will be reported at the end. */ - error_occured = true; + error_occurred = true; } } @@ -2822,7 +2822,7 @@ int cmd_stop_trace(struct ltt_session *session) /* Flag inactive after a successful stop. */ session->active = 0; - ret = !error_occured ? LTTNG_OK : LTTNG_ERR_UNK; + ret = !error_occurred ? LTTNG_OK : LTTNG_ERR_UNK; error: return ret;