X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Funix.c;h=12622e5dd03152a78ee492699539b7f86335f104;hb=ba66a850c5f540a0c3f61ce9344fd7127b567676;hp=023bff847273df004c537593cbbbceb012540681;hpb=982583bdd4fea58b902f8396a83e2233a70087ad;p=lttng-tools.git diff --git a/src/common/unix.c b/src/common/unix.c index 023bff847..12622e5dd 100644 --- a/src/common/unix.c +++ b/src/common/unix.c @@ -1133,7 +1133,7 @@ ssize_t lttcomm_recv_creds_unix_sock(int sock, void *buf, size_t len, { int peer_ret; - peer_ret = getpeereid(sock, &creds->uid, &creds->gid); + peer_ret = getpeereid(sock, &creds->uid, &creds->gid, &creds->pid); if (peer_ret != 0) { return peer_ret; }