diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2016-07-13 09:43:26 +0100 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2016-07-20 23:44:40 +0100 |
commit | dd58044530ab57b8c2ee0a56008bc97bd1eecdd9 (patch) | |
tree | 38ab4ca3c893a3a06bb294b247297ebd7ef6b1bf /tests | |
parent | 6c056eecd56374b069ed24c81f59b6638cde2f3a (diff) |
tests/drmdevice: print out the full 'bus' and 'dev' strings
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/drmdevice.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/drmdevice.c b/tests/drmdevice.c index c3363274..ac5f6ff8 100644 --- a/tests/drmdevice.c +++ b/tests/drmdevice.c @@ -44,8 +44,8 @@ print_device_info(drmDevicePtr device, int i) if (device->bustype == DRM_BUS_PCI) { printf("\t\tpci\n"); printf("\t\t\tdomain\t%04x\n",device->businfo.pci->domain); - printf("\t\t\tbu\t%02x\n", device->businfo.pci->bus); - printf("\t\t\tde\t%02x\n", device->businfo.pci->dev); + printf("\t\t\tbus\t%02x\n", device->businfo.pci->bus); + printf("\t\t\tdev\t%02x\n", device->businfo.pci->dev); printf("\t\t\tfunc\t%1u\n", device->businfo.pci->func); printf("\tdeviceinfo\n"); |