summaryrefslogtreecommitdiff
path: root/usr.sbin/xntpd/lib/dofptoa.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/xntpd/lib/dofptoa.c')
-rw-r--r--usr.sbin/xntpd/lib/dofptoa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/xntpd/lib/dofptoa.c b/usr.sbin/xntpd/lib/dofptoa.c
index c6e317f69d434..a496df85dd5bc 100644
--- a/usr.sbin/xntpd/lib/dofptoa.c
+++ b/usr.sbin/xntpd/lib/dofptoa.c
@@ -31,7 +31,7 @@ dofptoa(fpv, neg, ndec, msec)
/*
* Zero out the buffer
*/
- bzero((char *)cbuf, sizeof cbuf);
+ memset((char *)cbuf, 0, sizeof cbuf);
/*
* Set the pointers to point at the first