summaryrefslogtreecommitdiff
path: root/lib/printf/printf-pos.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2020-03-08 20:01:10 -0400
committerGitHub <noreply@github.com>2020-03-08 20:01:10 -0400
commita9c5346c295acf463096716c559daca51668d5f6 (patch)
treeceaf5f13ead8cbde1c501aa45e65df8446410ad7 /lib/printf/printf-pos.c
parentec03d9e3a4ab55f57cd8afb00aa0aa0bbc5a2981 (diff)
parent0d6f7fd6fd9dcaa62fb77a10d3a1ad8d0d74f980 (diff)
Merge pull request #5937 from ton31337/fix/sizeof
*: Replace `sizeof something` to sizeof(something)
Diffstat (limited to 'lib/printf/printf-pos.c')
-rw-r--r--lib/printf/printf-pos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/printf/printf-pos.c b/lib/printf/printf-pos.c
index 20a58eacdc..cc03f7ef9a 100644
--- a/lib/printf/printf-pos.c
+++ b/lib/printf/printf-pos.c
@@ -686,7 +686,7 @@ build_arg_table(struct typetable *types, va_list ap, union arg **argtable)
if (types->tablemax >= STATIC_ARG_TBL_SIZE) {
*argtable = (union arg *)
- malloc (sizeof (union arg) * (types->tablemax + 1));
+ malloc (sizeof(union arg) * (types->tablemax + 1));
if (*argtable == NULL)
return;
}