History

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

Yinan Liu committed 4 years ago

Commit c8a7ff11 parent 2972e301 file · +2 −2Browse files

Showing the changes to scripts (1 of 1 file). Show all

Unified · Split

scripts/sorttable.h+2−2
@@ -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",