Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/rpc.lockd setproctitle fix. from openbsd
details: https://anonhg.NetBSD.org/src/rev/e036605c42fd
branches: trunk
changeset: 494349:e036605c42fd
user: itojun <itojun%NetBSD.org@localhost>
date: Wed Jul 05 22:21:15 2000 +0000
description:
setproctitle fix. from openbsd
diffstat:
usr.sbin/rpc.lockd/lockd_lock.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r f8333bdcbdd1 -r e036605c42fd usr.sbin/rpc.lockd/lockd_lock.c
--- a/usr.sbin/rpc.lockd/lockd_lock.c Wed Jul 05 22:20:51 2000 +0000
+++ b/usr.sbin/rpc.lockd/lockd_lock.c Wed Jul 05 22:21:15 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lockd_lock.c,v 1.2 2000/06/09 14:00:53 fvdl Exp $ */
+/* $NetBSD: lockd_lock.c,v 1.3 2000/07/05 22:21:15 itojun Exp $ */
/*
* Copyright (c) 2000 Manuel Bouyer.
@@ -465,7 +465,7 @@
* Attempt a blocking lock. Will have to call
* NLM_GRANTED later.
*/
- setproctitle(fl->client_name);
+ setproctitle("%s", fl->client_name);
lflags &= ~LOCK_NB;
if(flock(fl->fd, lflags) != 0) {
syslog(LOG_NOTICE, "flock failed: %s",
Home |
Main Index |
Thread Index |
Old Index