From 1a0c32073ea8ecdbfb42e3d62ba076e8904c90cc Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Wed, 16 Feb 2005 01:03:30 +0000 Subject: Add an XXX comment about string quoting. --- sys/dev/pccard/pccard.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/dev/pccard') diff --git a/sys/dev/pccard/pccard.c b/sys/dev/pccard/pccard.c index 00a9015c170d..d92435820523 100644 --- a/sys/dev/pccard/pccard.c +++ b/sys/dev/pccard/pccard.c @@ -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], -- cgit v1.3