debugger: fix the -p option

Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Thomas Wood 2014-02-07 17:03:37 +00:00 committed by Daniel Vetter
parent 333a5c6f07
commit 49aa4b0df5

View File

@ -538,7 +538,7 @@ int main(int argc, char* argv[]) {
}
pci_dev = intel_get_pci_device();
if (devid != -1);
if (devid == -1)
devid = pci_dev->device_id;
if (identify_device(devid)) {
abort();