From 996e601d13ef819e919cb0761b25170bf6e23c82 Mon Sep 17 00:00:00 2001 From: wiz Date: Thu, 3 Jun 2004 16:48:53 +0000 Subject: [PATCH] One r in the option string is enough; from Jeff Ito. --- usr.sbin/envstat/envstat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.sbin/envstat/envstat.c b/usr.sbin/envstat/envstat.c index 92bff4924496..0fda04870865 100644 --- a/usr.sbin/envstat/envstat.c +++ b/usr.sbin/envstat/envstat.c @@ -1,4 +1,4 @@ -/* $NetBSD: envstat.c,v 1.21 2004/06/03 15:47:04 wiz Exp $ */ +/* $NetBSD: envstat.c,v 1.22 2004/06/03 16:48:53 wiz Exp $ */ /*- * Copyright (c) 2000 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ #include #ifndef lint -__RCSID("$NetBSD: envstat.c,v 1.21 2004/06/03 15:47:04 wiz Exp $"); +__RCSID("$NetBSD: envstat.c,v 1.22 2004/06/03 16:48:53 wiz Exp $"); #endif #include @@ -88,7 +88,7 @@ main(int argc, char **argv) sensors = NULL; headrep = 22; - while ((c = getopt(argc, argv, "fi:ln:rs:w:r")) != -1) { + while ((c = getopt(argc, argv, "fi:ln:rs:w:")) != -1) { switch(c) { case 'r': rflag = 1;