svn commit: r329439 - head/sbin/devmatch
Warner Losh
imp at FreeBSD.org
Sat Feb 17 06:57:13 UTC 2018
Author: imp
Date: Sat Feb 17 06:57:12 2018
New Revision: 329439
URL: https://svnweb.freebsd.org/changeset/base/329439
Log:
Warn when we encounter unknown PNP field specifiers.
The 'T' field went unimplemented for months due to a lack of warning.
Add a warnings to detect mistakes sooner.
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:08 2018 (r329438)
+++ head/sbin/devmatch/devmatch.c Sat Feb 17 06:57:12 2018 (r329439)
@@ -314,6 +314,7 @@ search_hints(const char *bus, const char *dev, const c
notme++;
break;
default:
+ fprintf(stderr, "Unknown field type %c\n:", *cp);
break;
}
bit++;
More information about the svn-src-all
mailing list