Print this page
rm code review

Split Close
Expand all
Collapse all
          --- old/usr/src/test/util-tests/tests/ctf/check-common.c
          +++ new/usr/src/test/util-tests/tests/ctf/check-common.c
↓ open down ↓ 729 lines elided ↑ open up ↑
 730  730                          warnx("argument %u has wrong type: found %s, "
 731  731                              "expected %s", i, buf, argv[i]);
 732  732                          ret = B_FALSE;
 733  733                          break;
 734  734                  }
 735  735          }
 736  736  
 737  737          free(args);
 738  738          return (ret);
 739  739  }
      740 +
 740  741  boolean_t
 741  742  ctftest_check_size(const char *type, ctf_file_t *fp, size_t size)
 742  743  {
 743  744          ctf_id_t base;
 744  745  
 745  746          if ((base = ctftest_lookup_type(fp, type)) == CTF_ERR) {
 746  747                  warnx("Failed to look up type %s", type);
 747  748                  return (B_FALSE);
 748  749          }
 749  750  
↓ open down ↓ 94 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX