Commit Diff


commit - 56624d2b65c2b867ab6c9dd5ac2ad51c3a13d47c
commit + 76a9a38e0c199dfd2ee26f23792b56e2b77952c2
blob - a7e4203b663abc6cc97df5f65ca8390cd9d1ac9e
blob + ed4f349309e803afa86a9c0fa10c1b204d43250a
--- gotd/gotd.c
+++ gotd/gotd.c
@@ -932,7 +932,7 @@ verify_imsg_src(struct gotd_client *client, struct got
 			err = got_error_fmt(GOT_ERR_BAD_PACKET,
 			    "new connection for uid %d from PID %d "
 			    "which is not the listen process",
-			    proc->pid, client->euid);
+			    client->euid, proc->pid);
 		} else
 			ret = 1;
 		break;
@@ -941,7 +941,7 @@ verify_imsg_src(struct gotd_client *client, struct got
 			err = got_error_fmt(GOT_ERR_BAD_PACKET,
 			    "authentication of uid %d from PID %d "
 			    "which is not the auth process",
-			    proc->pid, client->euid);
+			    client->euid, proc->pid);
 		} else
 			ret = 1;
 		break;