]> mj.ucw.cz Git - pciutils.git/commit
fbsd-device: Hopefully fixed a bug in fbsd_scan()
authorMartin Mares <mj@ucw.cz>
Sun, 31 Dec 2017 17:24:15 +0000 (18:24 +0100)
committerMartin Mares <mj@ucw.cz>
Sun, 31 Dec 2017 17:24:15 +0000 (18:24 +0100)
commit58d9f25f25c0070c3c3df3073f375d87a9163e88
tree3adfcd9832ae7624f5a5e89332becbe78e3a8966
parentb2a45526c9ec1b038894ff9cff95f358dfbc5cfb
fbsd-device: Hopefully fixed a bug in fbsd_scan()

The previous version was obviously wrong: as Andriy Gapon pointed
out, we assign twice to t->dev, but never to t->func.

Not tested, though, as I have no FreeBSD system at hand.
lib/fbsd-device.c