From 5e0195c8f55d955636c6220dd79337b2f63d75af Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sat, 17 Feb 2018 06:57:30 +0000 Subject: [PATCH] Tweak the 'I' flagged value 'I' was omitting 'zero' values. This is not quite correct, and was put in as a hack but not documented. Remove it. If we find what the hack was really needed for, we'll either fix the need for it, or invent a new flagged value type. Submitted by: hps@ Sponsored by: Netflix --- sbin/devmatch/devmatch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/devmatch/devmatch.c b/sbin/devmatch/devmatch.c index 3d83d610519..71e53efc1ce 100644 --- a/sbin/devmatch/devmatch.c +++ b/sbin/devmatch/devmatch.c @@ -285,7 +285,7 @@ search_hints(const char *bus, const char *dev, const char *pnpinfo) break; /*FALLTHROUGH*/ case 'I': - if (v != ival && ival != 0) + if (v != ival) notme++; break; case 'G':