From 941af4e4cda9350b214b06d40fd304529c799f3f Mon Sep 17 00:00:00 2001 From: Nick Chambers Date: Sun, 10 Jul 2022 17:20:13 -0500 Subject: [PATCH] Fix name of variable --- test/gargoyle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/gargoyle.c b/test/gargoyle.c index 0e4d196..d58027c 100644 --- a/test/gargoyle.c +++ b/test/gargoyle.c @@ -36,7 +36,7 @@ void gargoyle_test_digest_argv(void) { NULL }; - int argc = sizeof(args) / sizeof(char *); + int argc = sizeof(normal_args) / sizeof(char *); char **argv = normal_args; uint8_t res = gargoyle_digest_argv(optc, optv, &argc, &argv, &err, 0); CU_ASSERT_EQUAL(res, GARGOYLE_ERR_SUCCESS);