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:
imp 2018-02-17 06:57:12 +00:00
parent 73f0c246f3
commit 04bc840c66

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++;