summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Steves <stevesk@cvs.openbsd.org>2002-09-12 19:11:53 +0000
committerKevin Steves <stevesk@cvs.openbsd.org>2002-09-12 19:11:53 +0000
commit9d2d486e749228e556f0dc675fe5ae6e6223f605 (patch)
tree354162edc432c83ba28b677d1f72f299a520edc4
parentea34017fd9f57f76c0e1875af9250ce956390d40 (diff)
%u for uid print; ok markus@
-rw-r--r--usr.bin/ssh/ssh-agent.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/ssh-agent.c b/usr.bin/ssh/ssh-agent.c
index e53f868485f..8ef9c7a8e03 100644
--- a/usr.bin/ssh/ssh-agent.c
+++ b/usr.bin/ssh/ssh-agent.c
@@ -35,7 +35,7 @@
#include "includes.h"
#include <sys/queue.h>
-RCSID("$OpenBSD: ssh-agent.c,v 1.103 2002/09/10 20:24:47 markus Exp $");
+RCSID("$OpenBSD: ssh-agent.c,v 1.104 2002/09/12 19:11:52 stevesk Exp $");
#include <openssl/evp.h>
#include <openssl/md5.h>
@@ -831,8 +831,8 @@ after_select(fd_set *readset, fd_set *writeset)
}
if (getuid() != euid) {
error("uid mismatch: "
- "peer euid %d != uid %d",
- (int) euid, (int) getuid());
+ "peer euid %u != uid %u",
+ (u_int) euid, (u_int) getuid());
close(sock);
break;
}