X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=lttng-sessiond%2Fust-app.c;h=ab65f2b1576f2d20ccbdff0bc89e488f81bc2e91;hp=e1d11cfbccabfed425a6400a71d34e1dbb4935af;hb=88ff5b7f958a7bb60723d10ed97ceb79f9913167;hpb=0df502fd9da4e1895e1f3719afc51c8edd710c9e diff --git a/lttng-sessiond/ust-app.c b/lttng-sessiond/ust-app.c index e1d11cfbc..ab65f2b15 100644 --- a/lttng-sessiond/ust-app.c +++ b/lttng-sessiond/ust-app.c @@ -841,11 +841,12 @@ int ust_app_register(struct ust_register_msg *msg, int sock) * to specific compat32 consumer. */ if (msg->bits_per_long != CAA_BITS_PER_LONG) { - ERR("Registration failed: application %s (pid: %d) has " + ERR("Registration failed: application \"%s\" (pid: %d) has " "%d-bit long, but only " "%d-bit lttng-consumerd is available.\n", msg->name, msg->pid, msg->bits_per_long, CAA_BITS_PER_LONG); + close(sock); return -EINVAL; }