Date: Sat, 17 Feb 2018 06:57:30 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r329443 - head/sbin/devmatch Message-ID: <201802170657.w1H6vUnD027706@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Sat Feb 17 06:57:30 2018 New Revision: 329443 URL: https://svnweb.freebsd.org/changeset/base/329443 Log: 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 Modified: head/sbin/devmatch/devmatch.c Modified: head/sbin/devmatch/devmatch.c ============================================================================== --- head/sbin/devmatch/devmatch.c Sat Feb 17 06:57:25 2018 (r329442) +++ head/sbin/devmatch/devmatch.c Sat Feb 17 06:57:30 2018 (r329443) @@ -285,7 +285,7 @@ search_hints(const char *bus, const char *dev, const c break; /*FALLTHROUGH*/ case 'I': - if (v != ival && ival != 0) + if (v != ival) notme++; break; case 'G':
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802170657.w1H6vUnD027706>