Add an XXX comment about string quoting.

This commit is contained in:
Warner Losh 2005-02-16 01:03:30 +00:00
parent 20a2a51bc3
commit 1a0c32073e

View File

@ -1003,6 +1003,7 @@ pccard_child_pnpinfo_str(device_t bus, device_t child, char *buf,
struct pccard_function *func = devi->fcn;
struct pccard_softc *sc = PCCARD_SOFTC(bus);
/* XXX need to make sure that we've quoted the " in strings! */
snprintf(buf, buflen, "manufacturer=0x%04x product=0x%04x "
"cisvendor=\"%s\" cisproduct=\"%s\" function_type=%d",
sc->card.manufacturer, sc->card.product, sc->card.cis1_info[0],