aboutsummaryrefslogtreecommitdiffstats
path: root/man3/offsetof.3
diff options
context:
space:
mode:
authorAlex Colomar <alx.manpages@gmail.com>2022-09-11 00:57:38 +0200
committerAlex Colomar <alx.manpages@gmail.com>2022-09-12 17:18:55 +0200
commitd917c31dda3941c70eb72864dc5351144f981fbd (patch)
tree5d6530562c752105ab323ef85507a03fb5d49382 /man3/offsetof.3
parent0f6f10d52afa01c97b8366e452c4e299ef86b276 (diff)
downloadman-pages-d917c31dda3941c70eb72864dc5351144f981fbd.tar.gz
Various pages: EXAMPLES: Fix alignment
In some cases, add braces, for readability. Link: <https://nginx.org/en/docs/dev/development_guide.html#code_style> Reported-by: checkpatch(1) Signed-off-by: Alex Colomar <alx.manpages@gmail.com>
Diffstat (limited to 'man3/offsetof.3')
-rw-r--r--man3/offsetof.34
1 files changed, 2 insertions, 2 deletions
diff --git a/man3/offsetof.3 b/man3/offsetof.3
index 3273ce82b1..b5048c2930 100644
--- a/man3/offsetof.3
+++ b/man3/offsetof.3
@@ -98,8 +98,8 @@ main(void)
/* Output is compiler dependent */
printf("offsets: i=%zu; c=%zu; d=%zu a=%zu\en",
- offsetof(struct s, i), offsetof(struct s, c),
- offsetof(struct s, d), offsetof(struct s, a));
+ offsetof(struct s, i), offsetof(struct s, c),
+ offsetof(struct s, d), offsetof(struct s, a));
printf("sizeof(struct s)=%zu\en", sizeof(struct s));
exit(EXIT_SUCCESS);