aboutsummaryrefslogtreecommitdiff
path: root/pk/syscall.c
diff options
context:
space:
mode:
authorChristopher Celio <celio@eecs.berkeley.edu>2014-08-10 01:01:49 -0700
committerChristopher Celio <celio@eecs.berkeley.edu>2014-08-10 01:01:49 -0700
commit024053cd98c3bfc0bf6a9c4c219c9fb030f4a660 (patch)
tree201b330a6a3f4c23ba408a8bfa834bf79e3fa3d4 /pk/syscall.c
parent53385b7dbd3829f8d0773819dd475732d8820481 (diff)
downloadpk-024053cd98c3bfc0bf6a9c4c219c9fb030f4a660.zip
pk-024053cd98c3bfc0bf6a9c4c219c9fb030f4a660.tar.gz
pk-024053cd98c3bfc0bf6a9c4c219c9fb030f4a660.tar.bz2
Fix uarch counter printout type.
Diffstat (limited to 'pk/syscall.c')
-rw-r--r--pk/syscall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pk/syscall.c b/pk/syscall.c
index f32bbe1..add12ce 100644
--- a/pk/syscall.c
+++ b/pk/syscall.c
@@ -46,7 +46,7 @@ void sys_exit(int code)
for (int i = 0; i < NUM_COUNTERS; i++) {
if (uarch_counters[i]) {
- printk("%s = %d\n", uarch_counter_names[i], uarch_counters[i]);
+ printk("%s = %ld\n", uarch_counter_names[i], uarch_counters[i]);
}
}
}