summaryrefslogtreecommitdiff
path: root/auth1.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth1.c')
-rw-r--r--auth1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/auth1.c b/auth1.c
index ab6fd34dd..ea133b0cb 100644
--- a/auth1.c
+++ b/auth1.c
@@ -10,7 +10,7 @@
10 */ 10 */
11 11
12#include "includes.h" 12#include "includes.h"
13RCSID("$OpenBSD: auth1.c,v 1.57 2004/05/23 23:59:53 dtucker Exp $"); 13RCSID("$OpenBSD: auth1.c,v 1.58 2004/07/21 10:33:31 djm Exp $");
14 14
15#include "xmalloc.h" 15#include "xmalloc.h"
16#include "rsa.h" 16#include "rsa.h"
@@ -306,7 +306,7 @@ do_authentication(Authctxt *authctxt)
306 authctxt->pw = fakepw(); 306 authctxt->pw = fakepw();
307 } 307 }
308 308
309 setproctitle("%s%s", authctxt->pw ? user : "unknown", 309 setproctitle("%s%s", authctxt->valid ? user : "unknown",
310 use_privsep ? " [net]" : ""); 310 use_privsep ? " [net]" : "");
311 311
312#ifdef USE_PAM 312#ifdef USE_PAM