summaryrefslogtreecommitdiff
path: root/kern/xpr.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/xpr.c')
-rw-r--r--kern/xpr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/kern/xpr.c b/kern/xpr.c
index e3e5377..b5f6e71 100644
--- a/kern/xpr.c
+++ b/kern/xpr.c
@@ -27,6 +27,8 @@
/*
* xpr silent tracing circular buffer.
*/
+#include <string.h>
+
#include <kern/xpr.h>
#include <kern/lock.h>
#include "cpu_number.h"
@@ -112,7 +114,7 @@ void xprbootstrap()
* the previous buffer contents.
*/
- bzero((char *) addr, size);
+ memset((char *) addr, 0, size);
}
xprbase = (struct xprbuf *) addr;