From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 1C45C7EEF for ; Tue, 9 Feb 2016 01:33:21 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP; 08 Feb 2016 16:33:21 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,418,1449561600"; d="scan'208";a="649271203" Received: from localhost.jf.intel.com ([10.166.45.34]) by FMSMGA003.fm.intel.com with ESMTP; 08 Feb 2016 16:33:20 -0800 From: Jeff Shaw To: dev@dpdk.org Date: Mon, 8 Feb 2016 16:33:46 -0800 Message-Id: <1454978026-50487-1-git-send-email-jeffrey.b.shaw@intel.com> X-Mailer: git-send-email 2.1.0 Subject: [dpdk-dev] [PATCH] tools: Fix typo in dpdk_nic_bind.py script. X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 00:33:22 -0000 We should call sys.exit(), not divide sys by exit(). Signed-off-by: Jeff Shaw --- tools/dpdk_nic_bind.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/dpdk_nic_bind.py b/tools/dpdk_nic_bind.py index f02454e..a1923c5 100755 --- a/tools/dpdk_nic_bind.py +++ b/tools/dpdk_nic_bind.py @@ -317,7 +317,7 @@ def unbind_one(dev_id, force): f = open(filename, "a") except: print "Error: unbind failed for %s - Cannot open %s" % (dev_id, filename) - sys/exit(1) + sys.exit(1) f.write(dev_id) f.close() -- 2.1.0