From: Jérémie Galarneau Date: Mon, 19 Apr 2021 15:06:23 +0000 (-0400) Subject: Clean-up: sessiond: cmd: abort() on invalid query target X-Git-Tag: v2.13.0-rc1~73 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=ef4cf1d23c3d03c5e6462e71afbc89ec1e95ab4e;p=lttng-tools.git Clean-up: sessiond: cmd: abort() on invalid query target Signed-off-by: Jérémie Galarneau Change-Id: Ia02fb651a18d927c3b04e20bb55aa588d071b87c --- diff --git a/src/bin/lttng-sessiond/cmd.c b/src/bin/lttng-sessiond/cmd.c index 76258dc87..a020ab6e7 100644 --- a/src/bin/lttng-sessiond/cmd.c +++ b/src/bin/lttng-sessiond/cmd.c @@ -4763,6 +4763,7 @@ enum lttng_error_code cmd_execute_error_query(const struct lttng_credentials *cm break; } default: + abort(); break; }