diff options
author | Christos Zoulas <christos@zoulas.com> | 2022-07-30 17:04:18 +0000 |
---|---|---|
committer | Christos Zoulas <christos@zoulas.com> | 2022-07-30 17:04:18 +0000 |
commit | 42a6724bf9a9af6b1560100282fbe95341cf7125 (patch) | |
tree | f405116a4ac0b83d36dd7a28ff94608b9f2c8c3c | |
parent | a4876a1aa97e9f98e4673f89d65a41230018e603 (diff) | |
download | file-git-42a6724bf9a9af6b1560100282fbe95341cf7125.tar.gz |
PR/369: hbent: fix typo
-rw-r--r-- | src/vasprintf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vasprintf.c b/src/vasprintf.c index 9b2cecb3..1a8750b2 100644 --- a/src/vasprintf.c +++ b/src/vasprintf.c @@ -108,7 +108,7 @@ you use strange formats. #include "file.h" #ifndef lint -FILE_RCSID("@(#)$File: vasprintf.c,v 1.19 2021/02/23 00:51:11 christos Exp $") +FILE_RCSID("@(#)$File: vasprintf.c,v 1.20 2022/07/30 17:04:18 christos Exp $") #endif /* lint */ #include <assert.h> @@ -635,7 +635,7 @@ int vasprintf(char **ptr, const char *format_string, va_list vargs) # ifdef WIN32 s.vargs = vargs; # else - memcpy (&s.vargs, &vargs, sizeof (s.va_args)); + memcpy (&s.vargs, &vargs, sizeof (s.vargs)); # endif /* WIN32 */ # endif /* __va_copy */ #endif /* va_copy */ |