summaryrefslogtreecommitdiff
path: root/source/nmbd/nmbd_namequery.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/nmbd/nmbd_namequery.c')
-rw-r--r--source/nmbd/nmbd_namequery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nmbd/nmbd_namequery.c b/source/nmbd/nmbd_namequery.c
index fae045882f2..8c415548421 100644
--- a/source/nmbd/nmbd_namequery.c
+++ b/source/nmbd/nmbd_namequery.c
@@ -193,7 +193,7 @@ BOOL query_name(struct subnet_record *subrec, char *name, int type,
struct res_rec rrec;
int i;
- bzero((char *)&rrec, sizeof(struct res_rec));
+ memset((char *)&rrec, '\0', sizeof(struct res_rec));
/* Fake up the needed res_rec just in case it's used. */
rrec.rr_name = nmbname;