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
This commit is contained in:
Warner Losh 2018-02-17 06:57:12 +00:00
parent 48c1581df5
commit a164a319eb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=329439

View file

@ -314,6 +314,7 @@ search_hints(const char *bus, const char *dev, const char *pnpinfo)
notme++;
break;
default:
fprintf(stderr, "Unknown field type %c\n:", *cp);
break;
}
bit++;