tools/accounting/getdelays.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
From: Fan Yu <fan.yu9@zte.com.cn>
Add a missing space in err() function call for consistency.
The change improves consistency with the codebase style
and enhances readability.
Signed-off-by: Fan Yu <fan.yu9@zte.com.cn>
---
tools/accounting/getdelays.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/accounting/getdelays.c b/tools/accounting/getdelays.c
index 21cb3c3d1331..0c721efafab9 100644
--- a/tools/accounting/getdelays.c
+++ b/tools/accounting/getdelays.c
@@ -570,7 +570,7 @@ int main(int argc, char *argv[])
task_context_switch_counts((struct taskstats *) NLA_DATA(na));
if (fd) {
if (write(fd, NLA_DATA(na), na->nla_len) < 0) {
- err(1,"write error\n");
+ err(1, "write error\n");
}
}
if (!loop)
--
2.25.1
>From: Fan Yu <fan.yu9@zte.com.cn>
>
>Add a missing space in err() function call for consistency.
>The change improves consistency with the codebase style
>and enhances readability.
>
>Signed-off-by: Fan Yu <fan.yu9@zte.com.cn>
>---
>tools/accounting/getdelays.c | 2 +-
>1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/tools/accounting/getdelays.c b/tools/accounting/getdelays.c
>index 21cb3c3d1331..0c721efafab9 100644
>--- a/tools/accounting/getdelays.c
>+++ b/tools/accounting/getdelays.c
>@@ -570,7 +570,7 @@ int main(int argc, char *argv[])
>task_context_switch_counts((struct taskstats *) NLA_DATA(na));
>if (fd) {
>if (write(fd, NLA_DATA(na), na->nla_len) < 0) {
>- err(1,"write error\n");
>+ err(1, "write error\n");
>}
>}
>if (!loop)
Reviewed-by: Wang Yaxin <wang.yaxin@zte.com.cn>
Thanks
Yaxin
© 2016 - 2025 Red Hat, Inc.