Print this page
Code review comments from jeffpc

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libscf/common/highlevel.c
          +++ new/usr/src/lib/libscf/common/highlevel.c
↓ open down ↓ 427 lines elided ↑ open up ↑
 428  428  next:
 429  429                          uu_free(pfmri);
 430  430                          scf_value_destroy(val);
 431  431                          scf_property_destroy(prop);
 432  432                  }
 433  433          }
 434  434  
 435  435          if (!psecflags_validate(flags))
 436  436                  return (-1);
 437  437  
 438      -#endif  /* !NATIVE_BUILD */
 439  438          return (0);
      439 +#else
      440 +        assert(0);
      441 +        abort();
      442 +#endif /* !NATIVE_BUILD */
 440  443  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX