aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2018-02-17 06:57:30 +0000
committerWarner Losh <imp@FreeBSD.org>2018-02-17 06:57:30 +0000
commit5e0195c8f55d955636c6220dd79337b2f63d75af (patch)
treec1995cbf9eca4e7633617c9193d76c8d594f5e57 /sbin
parentb9c40202d8b96dcfc62cb9caccbbd8f55747377a (diff)
downloadsrc-5e0195c8f55d955636c6220dd79337b2f63d75af.tar.gz
src-5e0195c8f55d955636c6220dd79337b2f63d75af.zip
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
Notes
Notes: svn path=/head/; revision=329443
Diffstat (limited to 'sbin')
-rw-r--r--sbin/devmatch/devmatch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/devmatch/devmatch.c b/sbin/devmatch/devmatch.c
index 3d83d610519e..71e53efc1cef 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':