Print this page
5835 fix printf tokens for net-snmp 5.7.2

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/fm/libfmd_snmp/common/resource.c
          +++ new/usr/src/lib/fm/libfmd_snmp/common/resource.c
↓ open down ↓ 194 lines elided ↑ open up ↑
 195  195                  uu_avl_node_init(data, &data->d_index_avl, rsrc_index_avl_pool);
 196  196                  (void) uu_avl_find(rsrc_index_avl, data, NULL, &idx);
 197  197                  uu_avl_insert(rsrc_index_avl, data, idx);
 198  198  
 199  199                  DEBUGMSGTL((MODNAME_STR, "completed new resource %lu/%s@%p\n",
 200  200                      data->d_index, data->d_ari_fmri, data));
 201  201          }
 202  202  
 203  203          data->d_valid = valid_stamp;
 204  204  
 205      -        DEBUGMSGTL((MODNAME_STR, "timestamp updated for %lu/%s@%p: %lu\n",
      205 +        DEBUGMSGTL((MODNAME_STR, "timestamp updated for %lu/%s@%p: %d\n",
 206  206              data->d_index, data->d_ari_fmri, data, data->d_valid));
 207  207  
 208  208          if ((update_ctx->uc_type & UCT_ALL) ||
 209  209              update_ctx->uc_index == data->d_index) {
 210  210                  (void) strlcpy(data->d_ari_case, rsrcinfo->ari_case,
 211  211                      sizeof (data->d_ari_case));
 212  212                  data->d_ari_flags = rsrcinfo->ari_flags;
 213  213          }
 214  214  
 215  215          return (!(update_ctx->uc_type & UCT_ALL) &&
↓ open down ↓ 576 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX