From 22aea91fd0c9128efa1d6e624b557166e86d8237 Mon Sep 17 00:00:00 2001 From: hunt Date: Thu, 20 Apr 2006 17:39:14 +0000 Subject: 2006-04-20 Martin Hunt * small_demos/top.stp: Use printf. --- examples/small_demos/top.stp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') 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) -- cgit