]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Improve formatting of error
authorRoy Marples <roy@marples.name>
Sat, 4 May 2024 14:03:00 +0000 (15:03 +0100)
committerRoy Marples <roy@marples.name>
Tue, 1 Oct 2024 08:44:25 +0000 (09:44 +0100)
src/privsep.c

index 50cb42a79bc83a839426d507e7ea480ad6c1c256..45da237a9fdca4c571fad5f77b8176def6289870 100644 (file)
@@ -1131,7 +1131,7 @@ ps_recvpsmsg(struct dhcpcd_ctx *ctx, int fd, unsigned short events,
 
        len = read(fd, &psm, sizeof(psm));
 #ifdef PRIVSEP_DEBUG
-       logdebugx("%s: %zd", __func__, len);
+       logdebugx("%s: fd=%d %zd", __func__, fd, len);
 #endif
 
        if (len == -1 || len == 0)