summaryrefslogtreecommitdiff
path: root/debugger
diff options
context:
space:
mode:
authorThomas Wood <thomas.wood@intel.com>2014-02-07 17:03:37 +0000
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-02-11 14:35:09 +0100
commit49aa4b0df52254d47b354e98ec18236ff82b06e9 (patch)
tree2c56308c661d463613623e21734ae7df01323540 /debugger
parent333a5c6f07cba9e6d7a5506521bae5ec89b867c1 (diff)
debugger: fix the -p option
Signed-off-by: Thomas Wood <thomas.wood@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'debugger')
-rw-r--r--debugger/eudb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debugger/eudb.c b/debugger/eudb.c
index ff77e422..4cbc2d7b 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();