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 fix a typo in the previous.



details:   https://anonhg.NetBSD.org/src/rev/208b2e2e6bc8
branches:  trunk
changeset: 544204:208b2e2e6bc8
user:      yamt <yamt%NetBSD.org@localhost>
date:      Fri Mar 14 14:10:00 2003 +0000

description:
fix a typo in the previous.

diffstat:

 usr.sbin/rpc.lockd/lockd_lock.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 21e7e2b8c065 -r 208b2e2e6bc8 usr.sbin/rpc.lockd/lockd_lock.c
--- a/usr.sbin/rpc.lockd/lockd_lock.c   Fri Mar 14 14:08:44 2003 +0000
+++ b/usr.sbin/rpc.lockd/lockd_lock.c   Fri Mar 14 14:10:00 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lockd_lock.c,v 1.15 2003/03/14 14:08:44 yamt Exp $     */
+/*     $NetBSD: lockd_lock.c,v 1.16 2003/03/14 14:10:00 yamt Exp $     */
 
 /*
  * Copyright (c) 2000 Manuel Bouyer.
@@ -192,7 +192,7 @@
        memcpy(newfl->client_cookie.n_bytes, lckarg->cookie.n_bytes,
            lckarg->cookie.n_len);
        strlcpy(newfl->client_name, lckarg->alock.caller_name,
-           sizeof(newfl->client_name);
+           sizeof(newfl->client_name));
        newfl->nsm_status = lckarg->state;
        newfl->status = 0;
        newfl->flags = flags;



Home | Main Index | Thread Index | Old Index