From 0d6f7fd6fd9dcaa62fb77a10d3a1ad8d0d74f980 Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Sun, 8 Mar 2020 21:43:26 +0200 Subject: *: Replace `sizeof something` to sizeof(something) Satisfy checkpatch.pl requirements (check for sizeof without parenthesis) Signed-off-by: Donatas Abraitis --- lib/printf/printf-pos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/printf/printf-pos.c') 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; } -- cgit v1.2.3