diff options
author | Yinan Liu <yinan@linux.alibaba.com> | 2021-12-07 16:13:47 +0100 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2021-12-11 15:34:31 +0100 |
commit | c8a7ff13f5fc6e6b313de2a8e02304c2a90a3906 (patch) | |
tree | cded4e44e5f7cf3e7996dfd6fd6ca5334fd78539 /scripts | |
parent | tracing: Make trace_marker{,_raw} stream-like (diff) | |
download | linux-c8a7ff13f5fc6e6b313de2a8e02304c2a90a3906.tar.xz linux-c8a7ff13f5fc6e6b313de2a8e02304c2a90a3906.zip |
script/sorttable: Code style improvements
Modified the code style issue of if() {},
keep the code style consistent.
Link: https://lkml.kernel.org/r/20211207151348.54921-3-yinan@linux.alibaba.com
Signed-off-by: Yinan Liu <yinan@linux.alibaba.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/sorttable.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/sorttable.h b/scripts/sorttable.h index a2baa2fefb13..7b9745cf8c70 100644 --- a/scripts/sorttable.h +++ b/scripts/sorttable.h @@ -364,11 +364,11 @@ out: void *retval = NULL; /* wait for ORC tables sort done */ rc = pthread_join(orc_sort_thread, &retval); - if (rc) + if (rc) { fprintf(stderr, "pthread_join failed '%s': %s\n", strerror(errno), fname); - else if (retval) { + } else if (retval) { rc = -1; fprintf(stderr, "failed to sort ORC tables '%s': %s\n", |