Signed-off-by: Thomas Wood <thomas.wood@xxxxxxxxx> --- debugger/eudb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debugger/eudb.c b/debugger/eudb.c index ff77e42..4cbc2d7 100644 --- a/debugger/eudb.c +++ b/debugger/eudb.c @@ -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(); -- 1.8.5.3 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx