Print this page
patch fix-lint

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libdisasm/common/dis_sparc.c
          +++ new/usr/src/lib/libdisasm/common/dis_sparc.c
↓ open down ↓ 269 lines elided ↑ open up ↑
 270  270                  }
 271  271  
 272  272                  break;
 273  273          }
 274  274  
 275  275          if (tp->tbl_fmt(dhp, instr, inp, idx) == 0)
 276  276                  return (0);
 277  277  
 278  278  error:
 279  279  
 280      -        (void) snprintf(buf, buflen,
      280 +        (void) dis_snprintf(buf, buflen,
 281  281              ((dhp->dh_flags & DIS_OCTAL) != 0) ? "0%011lo" : "0x%08lx",
 282  282              instr);
 283  283  
 284  284          return (0);
 285  285  }
 286  286  
 287  287  static uint32_t
 288  288  dis_get_bits(uint32_t instr, int offset, int length)
 289  289  {
 290  290          uint32_t mask, val;
↓ open down ↓ 69 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX