Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/config Don't print instances we've already printed.
details: https://anonhg.NetBSD.org/src/rev/14d93ff2b305
branches: trunk
changeset: 357631:14d93ff2b305
user: christos <christos%NetBSD.org@localhost>
date: Sun Nov 19 01:46:29 2017 +0000
description:
Don't print instances we've already printed.
diffstat:
usr.bin/config/mkioconf.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 9b20590b82ae -r 14d93ff2b305 usr.bin/config/mkioconf.c
--- a/usr.bin/config/mkioconf.c Sun Nov 19 01:31:53 2017 +0000
+++ b/usr.bin/config/mkioconf.c Sun Nov 19 01:46:29 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mkioconf.c,v 1.34 2017/11/18 18:44:20 christos Exp $ */
+/* $NetBSD: mkioconf.c,v 1.35 2017/11/19 01:46:29 christos Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -45,7 +45,7 @@
#endif
#include <sys/cdefs.h>
-__RCSID("$NetBSD: mkioconf.c,v 1.34 2017/11/18 18:44:20 christos Exp $");
+__RCSID("$NetBSD: mkioconf.c,v 1.35 2017/11/19 01:46:29 christos Exp $");
#include <sys/param.h>
#include <err.h>
@@ -344,7 +344,7 @@
TAILQ_FOREACH(p, &allpspecs, p_list) {
if (p->p_devs == NULL || p->p_active != DEVI_ACTIVE)
continue;
- if (inst == p->p_inst)
+ if (inst >= p->p_inst)
continue;
inst = p->p_inst;
fprintf(fp,
Home |
Main Index |
Thread Index |
Old Index