Skip to contentSkip to conversation

scripts/kvm/kvm_stat: Fix missing right parantheses

PATCH Superseded Fam Zheng 2 participants 3 messages Feb 17, 2016 – Feb 19, 2016

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Fam Zheng

author
#0 lore raw

PATCH 1/1 scripts/kvm/kvm_stat: Fix missing right parantheses

---
 scripts/kvm/kvm_stat | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/kvm/kvm_stat +1 -1
index 3cf1181..517fbec 100755
@@ -800,7 +800,7 @@ def check_access(options):
         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)
 
Signature · 1 line
2.4.3
#1 lore raw
Quoted 10 lines · Fam Zheng
---
 scripts/kvm/kvm_stat | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/kvm/kvm_stat +0 -0
index 3cf1181..517fbec 100755

scripts/kvm/kvm_stat def check_access(options): · line 806

Quoted 8 lines
scripts/kvm/kvm_stat +1 -1
@@ -800,7 +800,7 @@ def check_access(options):
         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)
 

Thanks for fixing that.
If you also want to fix the missing .format(PATH_DEBUGFS_TRACING) in the write a few lines above, go ahead.

I should have been more careful when reading the pull mail from Paolo. The affected lines are not my code and definitely not my v2 which included the "exit if -t is passed explicitly" that Paolo added to my commit.

author
#2 lore raw
Quoted 23 lines · Janosch Frank
Quoted 10 lines · Fam Zheng
---
 scripts/kvm/kvm_stat | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/kvm/kvm_stat +0 -0
index 3cf1181..517fbec 100755

scripts/kvm/kvm_stat def check_access(options): · line 806

Quoted 8 lines
scripts/kvm/kvm_stat +1 -1
@@ -800,7 +800,7 @@ def check_access(options):
         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)
 

Thanks for fixing that.
If you also want to fix the missing .format(PATH_DEBUGFS_TRACING) in the write a few lines above, go ahead.

Quoted 5 lines

I should have been more careful when reading the pull mail from Paolo. The affected lines are not my code and definitely not my v2 which included the "exit if -t is passed explicitly" that Paolo added to my commit.

Yep, I can do it. Will send v2.

Fam