Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/dist/lib/libctf/common fix zeroing
details: https://anonhg.NetBSD.org/src/rev/21d5cadcfb4c
branches: trunk
changeset: 938324:21d5cadcfb4c
user: christos <christos%NetBSD.org@localhost>
date: Sun Sep 06 16:44:16 2020 +0000
description:
fix zeroing
diffstat:
external/cddl/osnet/dist/lib/libctf/common/ctf_lib.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 2621ce34feb3 -r 21d5cadcfb4c external/cddl/osnet/dist/lib/libctf/common/ctf_lib.c
--- a/external/cddl/osnet/dist/lib/libctf/common/ctf_lib.c Sun Sep 06 16:30:41 2020 +0000
+++ b/external/cddl/osnet/dist/lib/libctf/common/ctf_lib.c Sun Sep 06 16:44:16 2020 +0000
@@ -234,7 +234,7 @@
bzero(&ctfsect, sizeof (ctf_sect_t));
bzero(&symsect, sizeof (ctf_sect_t));
bzero(&strsect, sizeof (ctf_sect_t));
- bzero(&hdr.ctf, sizeof (hdr));
+ bzero(&hdr, sizeof (hdr));
if (fstat64(fd, &st) == -1)
return (ctf_set_open_errno(errp, errno));
Home |
Main Index |
Thread Index |
Old Index