X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fsession.c;h=e7fc7c35ade4ee4fa32bd778b8a2e927583957aa;hp=e890d07bac3b4d359c788152ea244ca96582bb31;hb=df0f840ba686e3fe670c9906fd46330fff65da07;hpb=76d7553fcee76da7c103c3b51a6b01f46cd784c8 diff --git a/src/bin/lttng-sessiond/session.c b/src/bin/lttng-sessiond/session.c index e890d07ba..e7fc7c35a 100644 --- a/src/bin/lttng-sessiond/session.c +++ b/src/bin/lttng-sessiond/session.c @@ -177,7 +177,7 @@ int session_create(char *name, char *path, uid_t uid, gid_t gid) /* Allocate session data structure */ new_session = zmalloc(sizeof(struct ltt_session)); if (new_session == NULL) { - perror("zmalloc"); + PERROR("zmalloc"); ret = LTTCOMM_FATAL; goto error_malloc; }