Skip to content

Commit c8a7ff1

Browse files
Yinan Liurostedt
authored andcommitted
script/sorttable: Code style improvements
Modified the code style issue of if() {}, keep the code style consistent. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Yinan Liu <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
1 parent 2972e30 commit c8a7ff1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/sorttable.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,11 +364,11 @@ static int do_sort(Elf_Ehdr *ehdr,
364364
void *retval = NULL;
365365
/* wait for ORC tables sort done */
366366
rc = pthread_join(orc_sort_thread, &retval);
367-
if (rc)
367+
if (rc) {
368368
fprintf(stderr,
369369
"pthread_join failed '%s': %s\n",
370370
strerror(errno), fname);
371-
else if (retval) {
371+
} else if (retval) {
372372
rc = -1;
373373
fprintf(stderr,
374374
"failed to sort ORC tables '%s': %s\n",

0 commit comments

Comments
 (0)