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
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",