X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fsession.c;h=e7fc7c35ade4ee4fa32bd778b8a2e927583957aa;hb=799e2c4f4ecb595fcb52c3e6affd3b4ec7b5b24e;hp=e890d07bac3b4d359c788152ea244ca96582bb31;hpb=ae8564917fa3cb3497ec17951d8ac0ee28de9c81;p=lttng-tools.git 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; }