From: David Goulet Date: Mon, 12 Dec 2011 17:58:11 +0000 (-0500) Subject: Fix missing consumer binary name in execl X-Git-Tag: v2.0-pre15~7 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=a5a6aff336b0f6bddf87b972830f47b798400b53;p=lttng-tools.git Fix missing consumer binary name in execl Signed-off-by: David Goulet --- diff --git a/lttng-sessiond/main.c b/lttng-sessiond/main.c index 227f0c2f7..54859c8dc 100644 --- a/lttng-sessiond/main.c +++ b/lttng-sessiond/main.c @@ -1580,7 +1580,7 @@ static pid_t spawn_consumerd(struct consumer_data *consumer_data) } } DBG("Using 64-bit UST consumer at: %s", consumerd64_bin); - ret = execl(consumerd64_bin, verbosity, "-u", + ret = execl(consumerd64_bin, "lttng-consumerd", verbosity, "-u", "--consumerd-cmd-sock", consumer_data->cmd_unix_sock_path, "--consumerd-err-sock", consumer_data->err_unix_sock_path, NULL); @@ -1624,7 +1624,7 @@ static pid_t spawn_consumerd(struct consumer_data *consumer_data) } } DBG("Using 32-bit UST consumer at: %s", consumerd32_bin); - ret = execl(consumerd32_bin, verbosity, "-u", + ret = execl(consumerd32_bin, "lttng-consumerd", verbosity, "-u", "--consumerd-cmd-sock", consumer_data->cmd_unix_sock_path, "--consumerd-err-sock", consumer_data->err_unix_sock_path, NULL);