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