Print this page
5218 posix definition of NULL
correct unistd.h and iso/stddef_iso.h
update gate source affected

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libscf/common/midlevel.c
          +++ new/usr/src/lib/libscf/common/midlevel.c
↓ open down ↓ 1334 lines elided ↑ open up ↑
1335 1335                  ret->snap = scf_snapshot_create(ret->h);
1336 1336                  ret->running_pg = scf_pg_create(ret->h);
1337 1337          }
1338 1338  
1339 1339          if ((ret->h == NULL) || (ret->inst == NULL) ||
1340 1340              (ret->snap == NULL) || (ret->running_pg == NULL)) {
1341 1341                  goto out;
1342 1342          }
1343 1343  
1344 1344          if (scf_handle_decode_fmri(ret->h, fmri, NULL, NULL, ret->inst,
1345      -            NULL, NULL, NULL) == -1) {
     1345 +            NULL, NULL, 0) == -1) {
1346 1346                  goto out;
1347 1347          }
1348 1348  
1349 1349          if ((scf_instance_get_snapshot(ret->inst, "running", ret->snap))
1350 1350              != 0) {
1351 1351                  goto out;
1352 1352          }
1353 1353  
1354 1354          if (scf_instance_get_pg_composed(ret->inst, ret->snap, pg_name,
1355 1355              ret->running_pg) != 0) {
↓ open down ↓ 1796 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX