Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/systat Restore lost break.



details:   https://anonhg.NetBSD.org/src/rev/1bc5edd5cbb1
branches:  trunk
changeset: 794208:1bc5edd5cbb1
user:      jdc <jdc%NetBSD.org@localhost>
date:      Sat Mar 08 20:51:20 2014 +0000

description:
Restore lost break.

diffstat:

 usr.bin/systat/disks.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r ac0af3a09f8c -r 1bc5edd5cbb1 usr.bin/systat/disks.c
--- a/usr.bin/systat/disks.c    Sat Mar 08 19:15:32 2014 +0000
+++ b/usr.bin/systat/disks.c    Sat Mar 08 20:51:20 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disks.c,v 1.18 2013/10/18 22:42:31 bad Exp $   */
+/*     $NetBSD: disks.c,v 1.19 2014/03/08 20:51:20 jdc Exp $   */
 
 /*-
  * Copyright (c) 1980, 1992, 1993
@@ -34,7 +34,7 @@
 #if 0
 static char sccsid[] = "@(#)disks.c    8.1 (Berkeley) 6/6/93";
 #endif
-__RCSID("$NetBSD: disks.c,v 1.18 2013/10/18 22:42:31 bad Exp $");
+__RCSID("$NetBSD: disks.c,v 1.19 2014/03/08 20:51:20 jdc Exp $");
 #endif /* not lint */
 
 #include <ctype.h>
@@ -102,6 +102,7 @@
                for (i = 0; i < ndrive; i++)
                        if (fnmatch(args, dr_name[i], 0) == 0) {
                                selections[i] = truefalse;
+                               break;
                        }
                if (i >= ndrive)
                        error("%s: unknown drive", args);



Home | Main Index | Thread Index | Old Index