Commit Diff


commit - bb12a5063c996cf9604bfcb3c6c459d8dbf1771d
commit + 72657dc95c57d4424da879f2d70ea0510077562f
blob - d826e23d32b5dd5a3d5b55e14ebc06a0159947db
blob + 3007bcfd7e144bb4bed06fa4aca8ebb8f5606abf
--- gotd/gotd.c
+++ gotd/gotd.c
@@ -946,7 +946,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;
@@ -955,7 +955,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;