From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43969) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYZTp-0004i0-Or for qemu-devel@nongnu.org; Wed, 24 Feb 2016 08:27:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYZTo-0005gQ-TB for qemu-devel@nongnu.org; Wed, 24 Feb 2016 08:27:49 -0500 Received: from mx1.redhat.com ([209.132.183.28]:43592) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYZTo-0005gE-NO for qemu-devel@nongnu.org; Wed, 24 Feb 2016 08:27:48 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 6622563141 for ; Wed, 24 Feb 2016 13:27:48 +0000 (UTC) From: Paolo Bonzini Date: Wed, 24 Feb 2016 14:27:24 +0100 Message-Id: <1456320461-26756-3-git-send-email-pbonzini@redhat.com> In-Reply-To: <1456320461-26756-1-git-send-email-pbonzini@redhat.com> References: <1456320461-26756-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PULL 02/19] scripts/kvm/kvm_stat: Fix missing right parantheses and ".format(...)" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Fam Zheng From: Fam Zheng They seem to have snuck in when applying Janosch Frank 's previous patch. Signed-off-by: Fam Zheng Message-Id: <1455848416-13177-1-git-send-email-famz@redhat.com> Reviewed-by: Janosch Frank Tested-by: Janosch Frank Signed-off-by: Paolo Bonzini --- scripts/kvm/kvm_stat | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/kvm/kvm_stat b/scripts/kvm/kvm_stat index 3cf1181..769d884 100755 --- a/scripts/kvm/kvm_stat +++ b/scripts/kvm/kvm_stat @@ -796,11 +796,12 @@ def check_access(options): sys.stderr.write("Please enable CONFIG_TRACING in your kernel " "when using the option -t (default).\n" "If it is enabled, make {0} readable by the " - "current user.\n") + "current user.\n" + .format(PATH_DEBUGFS_TRACING)) if options.tracepoints: sys.exit(1) - sys.stderr.write("Falling back to debugfs statistics!\n" + sys.stderr.write("Falling back to debugfs statistics!\n") options.debugfs = True sleep(5) -- 2.5.0