summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-01-29 10:13:11 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-01-29 10:13:11 +0000
commitbcd6413119daa340234dbc167069a8b0ccbd2c99 (patch)
treefdd24913f96d0becf2881027ce492d5f686a4c76 /usr.sbin
parent18f5b5157b6206833fda5bb544df9ef7b299e2b0 (diff)
do setprocticle; ok camield
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/authpf/authpf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/authpf/authpf.c b/usr.sbin/authpf/authpf.c
index 40528890366..315a020719d 100644
--- a/usr.sbin/authpf/authpf.c
+++ b/usr.sbin/authpf/authpf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: authpf.c,v 1.48 2003/01/27 00:59:20 dhartmei Exp $ */
+/* $OpenBSD: authpf.c,v 1.49 2003/01/29 10:13:10 deraadt Exp $ */
/*
* Copyright (C) 1998 - 2002 Bob Beck (beck@openbsd.org).
@@ -269,6 +269,7 @@ main(int argc, char *argv[])
while (1) {
printf("\r\nHello %s, ", luser);
printf("You are authenticated from host \"%s\"\r\n", ipsrc);
+ setproctitle("%s@%s", luser, ipsrc);
print_message(PATH_MESSAGE);
while (1) {
sleep(10);