Module Name: src
Committed By: jdc
Date: Sat Mar 8 20:51:20 UTC 2014
Modified Files:
src/usr.bin/systat: disks.c
Log Message:
Restore lost break.
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/usr.bin/systat/disks.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/systat/disks.c
diff -u src/usr.bin/systat/disks.c:1.18 src/usr.bin/systat/disks.c:1.19
--- src/usr.bin/systat/disks.c:1.18 Fri Oct 18 22:42:31 2013
+++ src/usr.bin/systat/disks.c Sat Mar 8 20:51:20 2014
@@ -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 @@ drvselect(char *args, int truefalse, int
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);