summaryrefslogtreecommitdiff
path: root/sys/isofs
diff options
context:
space:
mode:
authorPedro Martelletto <pedro@cvs.openbsd.org>2006-06-24 15:32:38 +0000
committerPedro Martelletto <pedro@cvs.openbsd.org>2006-06-24 15:32:38 +0000
commite9611845589a8252c83ef95b0fa18d8c56b37365 (patch)
tree2fb6cc3f0a42032d054a324d4bcf139e230b07cf /sys/isofs
parent92d4b5ac55465870335a2ff299d7d734e927728f (diff)
replace unneeded bzero()
Diffstat (limited to 'sys/isofs')
-rw-r--r--sys/isofs/udf/udf_vfsops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/isofs/udf/udf_vfsops.c b/sys/isofs/udf/udf_vfsops.c
index 5fa0b211cae..ee543602390 100644
--- a/sys/isofs/udf/udf_vfsops.c
+++ b/sys/isofs/udf/udf_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: udf_vfsops.c,v 1.11 2006/06/24 15:09:17 pedro Exp $ */
+/* $OpenBSD: udf_vfsops.c,v 1.12 2006/06/24 15:32:37 pedro Exp $ */
/*
* Copyright (c) 2001, 2002 Scott Long <scottl@freebsd.org>
@@ -743,7 +743,7 @@ udf_find_partmaps(struct udf_mnt *udfmp, struct logvol_desc *lvd)
/* Type 2 map. Find out the details */
pmap_id = (struct regid *) &pmap[4];
- bzero(&regid_id[0], UDF_REGID_ID_SIZE);
+ regid_id[UDF_REGID_ID_SIZE] = '\0';
bcopy(&pmap_id->id[0], &regid_id[0], UDF_REGID_ID_SIZE);
if (!bcmp(&regid_id[0], "*UDF Virtual Partition",