summaryrefslogtreecommitdiff
path: root/ssh-agent.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-09-19 11:46:58 +1000
committerDamien Miller <djm@mindrot.org>2002-09-19 11:46:58 +1000
commitdb30b12d7b41565aa7215c7aa45709cda0b41ab3 (patch)
tree832b8979a3989c3ecf48535379373bb38921b41a /ssh-agent.c
parent10f3085137e80c1b01b07a807cc40688738d5db5 (diff)
- (djm) OpenBSD CVS Sync
- stevesk@cvs.openbsd.org 2002/09/12 19:11:52 [ssh-agent.c] %u for uid print; ok markus@
Diffstat (limited to 'ssh-agent.c')
-rw-r--r--ssh-agent.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ssh-agent.c b/ssh-agent.c
index d4c008bbf..77958cca0 100644
--- a/ssh-agent.c
+++ b/ssh-agent.c
@@ -35,7 +35,7 @@
35 35
36#include "includes.h" 36#include "includes.h"
37#include "openbsd-compat/sys-queue.h" 37#include "openbsd-compat/sys-queue.h"
38RCSID("$OpenBSD: ssh-agent.c,v 1.103 2002/09/10 20:24:47 markus Exp $"); 38RCSID("$OpenBSD: ssh-agent.c,v 1.104 2002/09/12 19:11:52 stevesk Exp $");
39 39
40#include <openssl/evp.h> 40#include <openssl/evp.h>
41#include <openssl/md5.h> 41#include <openssl/md5.h>
@@ -835,8 +835,8 @@ after_select(fd_set *readset, fd_set *writeset)
835 } 835 }
836 if (getuid() != euid) { 836 if (getuid() != euid) {
837 error("uid mismatch: " 837 error("uid mismatch: "
838 "peer euid %d != uid %d", 838 "peer euid %u != uid %u",
839 (int) euid, (int) getuid()); 839 (u_int) euid, (u_int) getuid());
840 close(sock); 840 close(sock);
841 break; 841 break;
842 } 842 }