Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/faithd always use %s for setproctitle. from openbsd...



details:   https://anonhg.NetBSD.org/src/rev/6f316d213122
branches:  trunk
changeset: 494328:6f316d213122
user:      itojun <itojun%NetBSD.org@localhost>
date:      Wed Jul 05 17:59:58 2000 +0000

description:
always use %s for setproctitle. from openbsd-current

diffstat:

 usr.sbin/faithd/faithd.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 66397a7f0b82 -r 6f316d213122 usr.sbin/faithd/faithd.c
--- a/usr.sbin/faithd/faithd.c  Wed Jul 05 17:08:46 2000 +0000
+++ b/usr.sbin/faithd/faithd.c  Wed Jul 05 17:59:58 2000 +0000
@@ -1,5 +1,5 @@
-/*     $NetBSD: faithd.c,v 1.12 2000/07/04 13:28:13 itojun Exp $       */
-/*     $KAME: faithd.c,v 1.21 2000/07/04 03:18:35 itojun Exp $ */
+/*     $NetBSD: faithd.c,v 1.13 2000/07/05 17:59:58 itojun Exp $       */
+/*     $KAME: faithd.c,v 1.22 2000/07/05 17:58:58 itojun Exp $ */
 
 /*
  * Copyright (C) 1997 and 1998 WIDE Project.
@@ -380,7 +380,7 @@
         * Wait, accept, fork, faith....
         */
 again:
-       setproctitle(procname);
+       setproctitle("%s", procname);
 
        FD_ZERO(&rfds);
        FD_SET(s_wld, &rfds);



Home | Main Index | Thread Index | Old Index