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/problem.c
          +++ new/usr/src/lib/fm/libfmd_snmp/common/problem.c
↓ open down ↓ 528 lines elided ↑ open up ↑
 529  529                  if (table_info->colnum >=
 530  530                      netsnmp_find_table_registration_info(reginfo)->max_column) {
 531  531                          snmp_free_varbind(table_info->indexes);
 532  532                          table_info->indexes = NULL;
 533  533                          table_info->number_indexes = 0;
 534  534                          DEBUGMSGTL((MODNAME_STR, "nextpr: out of columns\n"));
 535  535                          return (NULL);
 536  536                  }
 537  537                  table_info->colnum++;
 538  538                  DEBUGMSGTL((MODNAME_STR, "nextpr: search for col %u empty "
 539      -                    "uuid\n", table_info->colnum, uuid));
      539 +                    "uuid\n", table_info->colnum));
 540  540  
 541  541                  if ((data = problem_lookup_uuid_next("")) == NULL) {
 542  542                          DEBUGMSGTL((MODNAME_STR, "nextpr: next match not found "
 543  543                              "for empty uuid; stopping\n"));
 544  544                          snmp_free_varbind(table_info->indexes);
 545  545                          table_info->indexes = NULL;
 546  546                          table_info->number_indexes = 0;
 547  547                          return (NULL);
 548  548                  }
 549  549          }
↓ open down ↓ 535 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX