1297
xmlStrPrintf(xpath_query, sizeof(xpath_query), (xmlChar*)"/devices/device[@vendor=%x and @device=%x]/@model", vendor_id, device_id);
1297
xmlStrPrintf(xpath_query, sizeof(xpath_query), (xmlChar*)"/devices/device[@vendor=\"%04x\" and @device=\"%04x\"]/@model", vendor_id, device_id);
1299
1299
data_dir = getenv("PCILIB_DATA_DIR");
1300
1300
if (!data_dir) data_dir = PCILIB_DATA_DIR;