diff options
author | marius <marius@FreeBSD.org> | 2007-12-26 21:50:59 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2007-12-26 21:50:59 +0000 |
commit | 8eb7673212b9e8790479d32d6f8f05c9aced0f8a (patch) | |
tree | 4edb6e7b76ad85fe9763bc61e682cf24ae1a5412 /lib/libc/string/strcmp.c | |
parent | b82597528b504f508ca76c4ba6b5c6c9b00d5ab3 (diff) | |
download | FreeBSD-src-8eb7673212b9e8790479d32d6f8f05c9aced0f8a.zip FreeBSD-src-8eb7673212b9e8790479d32d6f8f05c9aced0f8a.tar.gz |
Fix some bugs in the FreeBSD 4/5/6 pci(4) IOCTLs compatibility code:
- Use the correct offsets when copying out the results of PCIOCGETCONF_OLD.
This happened to not affect the 64-bit architectures because there the
addition of pc_domain to struct pcisel didn't change the overall size of
struct pci_conf. [1]
- Always copy the name and unit information to conf_old so it's also part
of the output once this information is cached in dinfo.
- Use the correct type for flags in struct pci_match_conf_old. This
change is more or less cosmetic though.
Reported and tested by: bde [1]
Reviewed by: imp
MFC after: 3 days
Committed from: 24C3
Diffstat (limited to 'lib/libc/string/strcmp.c')
0 files changed, 0 insertions, 0 deletions