diff mbox

[i-g-t,1/3] debugger: fix the -p option

Message ID 1391792619-17110-2-git-send-email-thomas.wood@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Thomas Wood Feb. 7, 2014, 5:03 p.m. UTC
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
---
 debugger/eudb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

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();