X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fcmd.c;h=2aea2ea747d3639dc507144fed844ddf870ed453;hb=e6a80fabeb598ea6265f5101bdfc5bd588d78784;hp=0f76ac71581935ab39c3c8fd57d1c29983aca2a2;hpb=9ab380e482662c0d578724224a40378c55ebdc81;p=lttng-tools.git 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;