diff options
author | imp <imp@FreeBSD.org> | 2005-02-16 01:03:30 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2005-02-16 01:03:30 +0000 |
commit | 0d2242ab8432965adb45b4c4c17865c5cae088ea (patch) | |
tree | fe1ae19ecbd144d1fe218beb6550ec671d90e608 /sys/dev/pccard | |
parent | bdfff0682fa355a72509fc2be9f2ed2c735f96b0 (diff) | |
download | FreeBSD-src-0d2242ab8432965adb45b4c4c17865c5cae088ea.zip FreeBSD-src-0d2242ab8432965adb45b4c4c17865c5cae088ea.tar.gz |
Add an XXX comment about string quoting.
Diffstat (limited to 'sys/dev/pccard')
-rw-r--r-- | sys/dev/pccard/pccard.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/pccard/pccard.c b/sys/dev/pccard/pccard.c index 00a9015..d924358 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], |