svn commit: r329443 - head/sbin/devmatch

Warner Losh imp at FreeBSD.org
Sat Feb 17 06:57:32 UTC 2018


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':


More information about the svn-src-all mailing list