diff options
author | 2006-06-24 15:32:37 +0000 | |
---|---|---|
committer | 2006-06-24 15:32:37 +0000 | |
commit | cfe67d8f8150f9102bea0f6b530a8489eff4fb83 (patch) | |
tree | c2542dd708446ba7f478889e47bde86357f608ef | |
parent | rearrange some comments (diff) | |
download | wireguard-openbsd-cfe67d8f8150f9102bea0f6b530a8489eff4fb83.tar.xz wireguard-openbsd-cfe67d8f8150f9102bea0f6b530a8489eff4fb83.zip |
replace unneeded bzero()
-rw-r--r-- | sys/isofs/udf/udf_vfsops.c | 4 |
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(®id_id[0], UDF_REGID_ID_SIZE); + regid_id[UDF_REGID_ID_SIZE] = '\0'; bcopy(&pmap_id->id[0], ®id_id[0], UDF_REGID_ID_SIZE); if (!bcmp(®id_id[0], "*UDF Virtual Partition", |