summaryrefslogtreecommitdiff
path: root/vm
diff options
context:
space:
mode:
authorJustus Winter <justus@gnupg.org>2016-04-20 16:12:26 +0200
committerJustus Winter <justus@gnupg.org>2016-04-20 16:15:27 +0200
commitcd7e689dae440befd8d663d15fff755464709625 (patch)
tree7b9f5ca3f3eaff67e4f55b0e3f4bb579472318b1 /vm
parent8f2a4990d1bcd91f399cb519bb800afe136f102f (diff)
Fix type of program counter argument
* i386/i386/hardclock.c (hardclock): Use '0' instead of 'NULL'. * vm/vm_fault (vm_fault_cleanup): Likewise.
Diffstat (limited to 'vm')
-rw-r--r--vm/vm_fault.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/vm_fault.c b/vm/vm_fault.c
index e61a223d..68afc59d 100644
--- a/vm/vm_fault.c
+++ b/vm/vm_fault.c
@@ -154,7 +154,7 @@ vm_fault_cleanup(
thread_t _thread_ = current_thread(); \
\
if (_thread_ != THREAD_NULL) \
- take_pc_sample_macro(_thread_, (flavor), 1, NULL); \
+ take_pc_sample_macro(_thread_, (flavor), 1, 0); \
MACRO_END
#else