[Intel-gfx] [PATCH i-g-t 1/3] debugger: fix the -p option

Thomas Wood thomas.wood at intel.com
Fri Feb 7 18:03:37 CET 2014


Signed-off-by: Thomas Wood <thomas.wood at intel.com>
---
 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




More information about the Intel-gfx mailing list