Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/gen use the fname we passed in.
details: https://anonhg.NetBSD.org/src/rev/11aafcf982f3
branches: trunk
changeset: 534482:11aafcf982f3
user: christos <christos%NetBSD.org@localhost>
date: Sun Jul 28 00:45:11 2002 +0000
description:
use the fname we passed in.
diffstat:
lib/libc/gen/utmpx.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r ba22074c57c2 -r 11aafcf982f3 lib/libc/gen/utmpx.c
--- a/lib/libc/gen/utmpx.c Sat Jul 27 23:58:40 2002 +0000
+++ b/lib/libc/gen/utmpx.c Sun Jul 28 00:45:11 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: utmpx.c,v 1.9 2002/07/27 19:38:29 christos Exp $ */
+/* $NetBSD: utmpx.c,v 1.10 2002/07/28 00:45:11 christos Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: utmpx.c,v 1.9 2002/07/27 19:38:29 christos Exp $");
+__RCSID("$NetBSD: utmpx.c,v 1.10 2002/07/28 00:45:11 christos Exp $");
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -404,7 +404,7 @@
{
DBT key, data;
int error = 0;
- DB *db = dbopen(llfile, O_RDWR|O_CREAT|O_EXLOCK, 0, DB_HASH, NULL);
+ DB *db = dbopen(fname, O_RDWR|O_CREAT|O_EXLOCK, 0, DB_HASH, NULL);
if (db == NULL)
return -1;
Home |
Main Index |
Thread Index |
Old Index