Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/w if doing uptime, don't bother resolving names.
details: https://anonhg.NetBSD.org/src/rev/53bcc4b3f004
branches: trunk
changeset: 334712:53bcc4b3f004
user: christos <christos%NetBSD.org@localhost>
date: Tue Dec 02 22:19:19 2014 +0000
description:
if doing uptime, don't bother resolving names.
diffstat:
usr.bin/w/w.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 5f9455f18b30 -r 53bcc4b3f004 usr.bin/w/w.c
--- a/usr.bin/w/w.c Tue Dec 02 22:13:13 2014 +0000
+++ b/usr.bin/w/w.c Tue Dec 02 22:19:19 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: w.c,v 1.79 2014/02/27 00:49:46 joerg Exp $ */
+/* $NetBSD: w.c,v 1.80 2014/12/02 22:19:19 christos Exp $ */
/*-
* Copyright (c) 1980, 1991, 1993, 1994
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)w.c 8.6 (Berkeley) 6/30/94";
#else
-__RCSID("$NetBSD: w.c,v 1.79 2014/02/27 00:49:46 joerg Exp $");
+__RCSID("$NetBSD: w.c,v 1.80 2014/12/02 22:19:19 christos Exp $");
#endif
#endif /* not lint */
@@ -156,6 +156,7 @@
if (*progname == 'u') {
wcmd = 0;
options = "";
+ nflag = 1;
} else {
wcmd = 1;
options = "hiM:N:nw";
Home |
Main Index |
Thread Index |
Old Index