scripts/kvm/kvm_stat: Fix missing right parantheses and ".format(...)"
authorFam Zheng <famz@redhat.com>
Fri, 19 Feb 2016 02:20:16 +0000 (10:20 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 22 Feb 2016 17:40:22 +0000 (18:40 +0100)
They seem to have snuck in when applying Janosch Frank
<frankja@linux.vnet.ibm.com>'s previous patch.

Signed-off-by: Fam Zheng <famz@redhat.com>
Message-Id: <1455848416-13177-1-git-send-email-famz@redhat.com>
Reviewed-by: Janosch Frank <frankja@linux.vnet.ibm.com>
Tested-by: Janosch Frank <frankja@linux.vnet.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
scripts/kvm/kvm_stat

index 3cf1181750dba4fa47817eb3678e30931fc64add..769d884b6d94ccc6c69399b2ea3ed6c206c87887 100755 (executable)
@@ -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)