[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 40/48] bsd-user: style tweak: Use preferred block comments
From: |
imp |
Subject: |
[PATCH v2 40/48] bsd-user: style tweak: Use preferred block comments |
Date: |
Sat, 24 Apr 2021 10:00:08 -0600 |
From: Warner Losh <imp@bsdimp.com>
Signed-off-by: Warner Losh <imp@bsdimp.com>
---
bsd-user/strace.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/bsd-user/strace.c b/bsd-user/strace.c
index e4153fd0a1..aa4ab8cee7 100644
--- a/bsd-user/strace.c
+++ b/bsd-user/strace.c
@@ -159,8 +159,10 @@ static void print_syscall(int num, const struct
syscallname *scnames,
scnames[i].call(&scnames[i], arg1, arg2, arg3, arg4, arg5,
arg6);
} else {
- /* XXX: this format system is broken because it uses
- host types and host pointers for strings */
+ /*
+ * XXX: this format system is broken because it uses host types
+ * and host pointers for strings
+ */
if (scnames[i].format != NULL) {
format = scnames[i].format;
}
--
2.22.1
- Re: [PATCH v2 28/48] bsd-user: style tweak: comments, (continued)
- [PATCH v2 16/48] bsd-user: style tweak: Put {} around all if/else/for statements, imp, 2021/04/24
- [PATCH v2 18/48] bsd-user: style tweak: Use preferred block comments, imp, 2021/04/24
- [PATCH v2 33/48] bsd-user: style tweak: Use preferred block comments, imp, 2021/04/24
- [PATCH v2 37/48] bsd-user: style tweak: don't assign in if statements, imp, 2021/04/24
- [PATCH v2 41/48] bsd-user: style tweak: don't assign in if statements, imp, 2021/04/24
- [PATCH v2 40/48] bsd-user: style tweak: Use preferred block comments,
imp <=
- [PATCH v2 43/48] bsd-user: style tweak: fold long lines, imp, 2021/04/24
- [PATCH v2 29/48] bsd-user: style tweak: use {} correctly, imp, 2021/04/24
- [PATCH v2 23/48] bsd-user: introduce host_os.h for bsd-specific code and defaults, imp, 2021/04/24
- [PATCH v2 45/48] bsd-user: style tweak: Use preferred {} in if/else statements., imp, 2021/04/24
- [PATCH v2 31/48] bsd-user: style tweak: use {} for all if statements, format else correctly, imp, 2021/04/24