Source-Changes-HG archive

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

[src/trunk]: src/lib/libutil Fix oversight in last commit.



details:   https://anonhg.NetBSD.org/src/rev/ad7622eabec4
branches:  trunk
changeset: 500236:ad7622eabec4
user:      tron <tron%NetBSD.org@localhost>
date:      Fri Dec 08 21:41:14 2000 +0000

description:
Fix oversight in last commit.

diffstat:

 lib/libutil/passwd.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r e496e76bbc21 -r ad7622eabec4 lib/libutil/passwd.c
--- a/lib/libutil/passwd.c      Fri Dec 08 21:39:30 2000 +0000
+++ b/lib/libutil/passwd.c      Fri Dec 08 21:41:14 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: passwd.c,v 1.27 2000/12/06 13:37:53 tron Exp $ */
+/*     $NetBSD: passwd.c,v 1.28 2000/12/08 21:41:14 tron Exp $ */
 
 /*
  * Copyright (c) 1987, 1993, 1994, 1995
@@ -35,7 +35,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: passwd.c,v 1.27 2000/12/06 13:37:53 tron Exp $");
+__RCSID("$NetBSD: passwd.c,v 1.28 2000/12/08 21:41:14 tron Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #include <sys/types.h>
@@ -144,7 +144,7 @@
 
        if (pid == 0) {
                execl(_PATH_PWD_MKDB, "pwd_mkdb", "-d", pw_prefix,
-                     "-p", _PATH_MASTERPASSWD_LOCK, NULL);
+                     "-p", pw_filename(_PATH_MASTERPASSWD_LOCK), NULL);
                _exit(1);
        }
        pid = waitpid(pid, &pstat, 0);



Home | Main Index | Thread Index | Old Index