summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.examples/general/keyhack.stp
diff options
context:
space:
mode:
authorWilliam Cohen <wcohen@redhat.com>2008-12-09 11:20:11 -0500
committerWilliam Cohen <wcohen@redhat.com>2008-12-09 11:20:11 -0500
commit4ffc629674ac7d1d84b93cb7fdca71953983f762 (patch)
treedca338602903ba87b69592b40faa35ca74b7966e /testsuite/systemtap.examples/general/keyhack.stp
parent73dc0c77745ee09db15542c14f7e048f91e121e6 (diff)
downloadsystemtap-steved-4ffc629674ac7d1d84b93cb7fdca71953983f762.tar.gz
systemtap-steved-4ffc629674ac7d1d84b93cb7fdca71953983f762.tar.xz
systemtap-steved-4ffc629674ac7d1d84b93cb7fdca71953983f762.zip
Tweak formatting, indent two space.
Diffstat (limited to 'testsuite/systemtap.examples/general/keyhack.stp')
-rwxr-xr-xtestsuite/systemtap.examples/general/keyhack.stp6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/systemtap.examples/general/keyhack.stp b/testsuite/systemtap.examples/general/keyhack.stp
index 3137baad..23384a9a 100755
--- a/testsuite/systemtap.examples/general/keyhack.stp
+++ b/testsuite/systemtap.examples/general/keyhack.stp
@@ -6,10 +6,10 @@
# Usage: ./keyhack.stp -g
probe kernel.function("kbd_event") {
- # Changes 'm' to 'b' .
- if ($event_code == 50) $event_code = 48
+ # Changes 'm' to 'b' .
+ if ($event_code == 50) $event_code = 48
}
probe end {
- printf("\nDONE\n")
+ printf("\nDONE\n")
}