diff options
author | Eric van Gyzen <vangyzen@FreeBSD.org> | 2018-05-28 02:31:49 +0000 |
---|---|---|
committer | Eric van Gyzen <vangyzen@FreeBSD.org> | 2018-05-28 02:31:49 +0000 |
commit | 0155aa938e8e53d26340d1e717f2e232693abeb7 (patch) | |
tree | 9f0efb6d968c6ebed182d57cd9229a6465419905 /lib/libc | |
parent | 9b2074417777dc909f37ca1ab51750161c7d6d4d (diff) | |
download | src-test2-0155aa938e8e53d26340d1e717f2e232693abeb7.tar.gz src-test2-0155aa938e8e53d26340d1e717f2e232693abeb7.zip |
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/gen/fts-compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/fts-compat.c b/lib/libc/gen/fts-compat.c index 2d8cafe7fa38..e5694d34fe01 100644 --- a/lib/libc/gen/fts-compat.c +++ b/lib/libc/gen/fts-compat.c @@ -934,7 +934,7 @@ fts_stat(FTS *sp, FTSENT *p, int follow) } } else if (freebsd11_lstat(p->fts_accpath, sbp)) { p->fts_errno = errno; -err: memset(sbp, 0, sizeof(struct stat)); +err: memset(sbp, 0, sizeof(*sbp)); return (FTS_NS); } |