Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/telnetd use _PATH_DEV instead of "/dev/"
details: https://anonhg.NetBSD.org/src/rev/943a259cb14d
branches: trunk
changeset: 580705:943a259cb14d
user: lukem <lukem%NetBSD.org@localhost>
date: Thu May 05 01:28:57 2005 +0000
description:
use _PATH_DEV instead of "/dev/"
diffstat:
libexec/telnetd/sys_term.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 2364313532ed -r 943a259cb14d libexec/telnetd/sys_term.c
--- a/libexec/telnetd/sys_term.c Wed May 04 23:23:28 2005 +0000
+++ b/libexec/telnetd/sys_term.c Thu May 05 01:28:57 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sys_term.c,v 1.42 2005/02/06 05:58:21 perry Exp $ */
+/* $NetBSD: sys_term.c,v 1.43 2005/05/05 01:28:57 lukem Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)sys_term.c 8.4+1 (Berkeley) 5/30/95";
#else
-__RCSID("$NetBSD: sys_term.c,v 1.42 2005/02/06 05:58:21 perry Exp $");
+__RCSID("$NetBSD: sys_term.c,v 1.43 2005/05/05 01:28:57 lukem Exp $");
#endif
#endif /* not lint */
@@ -775,7 +775,7 @@
{
char *p, c;
- p = line + sizeof("/dev/") - 1;
+ p = line + sizeof(_PATH_DEV) - 1;
#ifdef SUPPORT_UTMP
if (logout(p))
logwtmp(p, "", "");
Home |
Main Index |
Thread Index |
Old Index