From bcd6413119daa340234dbc167069a8b0ccbd2c99 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 29 Jan 2003 10:13:11 +0000 Subject: do setprocticle; ok camield --- usr.sbin/authpf/authpf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.sbin') 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); -- cgit v1.2.3