diff options
author | Damien Miller <djm@mindrot.org> | 2024-09-15 05:30:13 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2024-09-15 05:30:13 +0200 |
commit | 0c1165fc78e8fe69b5df71f81a8f944554a68b53 (patch) | |
tree | b3672328d162bfa858a2b472623ba32bf107af7f /regress | |
parent | upstream: bad whitespace in config dump output (diff) | |
download | openssh-0c1165fc78e8fe69b5df71f81a8f944554a68b53.tar.xz openssh-0c1165fc78e8fe69b5df71f81a8f944554a68b53.zip |
avoid gcc warning in fuzz test
Diffstat (limited to 'regress')
-rw-r--r-- | regress/unittests/test_helper/fuzz.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/unittests/test_helper/fuzz.c b/regress/unittests/test_helper/fuzz.c index 78b36654d..9995b26a6 100644 --- a/regress/unittests/test_helper/fuzz.c +++ b/regress/unittests/test_helper/fuzz.c @@ -214,7 +214,7 @@ siginfo(int unused __attribute__((__unused__))) struct fuzz * fuzz_begin(u_int strategies, const void *p, size_t l) { - struct fuzz *ret = calloc(sizeof(*ret), 1); + struct fuzz *ret = calloc(1, sizeof(*ret)); assert(p != NULL); assert(ret != NULL); |