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
Unified · Split
| @@ -364,11 +364,11 @@ out: · 363 unmodified lines | |||
| 364 | void *retval = NULL; | 364 | void *retval = NULL; |
| 365 | /* wait for ORC tables sort done */ | 365 | /* wait for ORC tables sort done */ |
| 366 | rc = pthread_join(orc_sort_thread, &retval); | 366 | rc = pthread_join(orc_sort_thread, &retval); |
| 367 | if (rc) | 367 | if (rc) { |
| 368 | fprintf(stderr, | 368 | fprintf(stderr, |
| 369 | "pthread_join failed '%s': %s\n", | 369 | "pthread_join failed '%s': %s\n", |
| 370 | strerror(errno), fname); | 370 | strerror(errno), fname); |
| 371 | else if (retval) { | 371 | } else if (retval) { |
| 372 | rc = -1; | 372 | rc = -1; |
| 373 | fprintf(stderr, | 373 | fprintf(stderr, |
| 374 | "failed to sort ORC tables '%s': %s\n", | 374 | "failed to sort ORC tables '%s': %s\n", |