mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-23 16:53:58 -05:00
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>
This commit is contained in:
parent
2972e3050e
commit
c8a7ff13f5
1 changed files with 2 additions and 2 deletions
|
@ -364,11 +364,11 @@ out:
|
||||||
void *retval = NULL;
|
void *retval = NULL;
|
||||||
/* wait for ORC tables sort done */
|
/* wait for ORC tables sort done */
|
||||||
rc = pthread_join(orc_sort_thread, &retval);
|
rc = pthread_join(orc_sort_thread, &retval);
|
||||||
if (rc)
|
if (rc) {
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"pthread_join failed '%s': %s\n",
|
"pthread_join failed '%s': %s\n",
|
||||||
strerror(errno), fname);
|
strerror(errno), fname);
|
||||||
else if (retval) {
|
} else if (retval) {
|
||||||
rc = -1;
|
rc = -1;
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"failed to sort ORC tables '%s': %s\n",
|
"failed to sort ORC tables '%s': %s\n",
|
||||||
|
|
Loading…
Add table
Reference in a new issue