summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/small_demos/top.stp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/small_demos/top.stp b/examples/small_demos/top.stp
index 26d35ec8..fa180dd5 100755
--- a/examples/small_demos/top.stp
+++ b/examples/small_demos/top.stp
@@ -7,7 +7,7 @@ global syscalls
function print_top () {
cnt=0
- log ("SYSCALL\t\t\t\tCOUNT")
+ printf ("SYSCALL\t\t\t\tCOUNT\n")
foreach ([name] in syscalls-) {
printf("%-20s\t\t%5d\n",name, syscalls[name])
if (cnt++ == 20)