From: Thomas Wood Subject: [PATCH i-g-t 1/3] debugger: fix the -p option Date: Fri, 7 Feb 2014 17:03:37 +0000 Message-ID: <1391792619-17110-2-git-send-email-thomas.wood@intel.com> References: <1391792619-17110-1-git-send-email-thomas.wood@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-we0-f171.google.com (mail-we0-f171.google.com [74.125.82.171]) by gabe.freedesktop.org (Postfix) with ESMTP id BC2D6FB5F8 for ; Fri, 7 Feb 2014 09:03:43 -0800 (PST) Received: by mail-we0-f171.google.com with SMTP id u56so2528927wes.30 for ; Fri, 07 Feb 2014 09:03:42 -0800 (PST) In-Reply-To: <1391792619-17110-1-git-send-email-thomas.wood@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org Signed-off-by: Thomas Wood --- 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