Revision 07b1a9da arm-dis.c

b/arm-dis.c
3149 3149
		      if (started)
3150 3150
			func (stream, ", ");
3151 3151
		      started = 1;
3152
		      func (stream, arm_regnames[14] /* "lr" */);
3152
		      func (stream, "%s", arm_regnames[14] /* "lr" */);
3153 3153
		    }
3154 3154

  
3155 3155
		  if (domaskpc)
3156 3156
		    {
3157 3157
		      if (started)
3158 3158
			func (stream, ", ");
3159
		      func (stream, arm_regnames[15] /* "pc" */);
3159
		      func (stream, "%s", arm_regnames[15] /* "pc" */);
3160 3160
		    }
3161 3161

  
3162 3162
		  func (stream, "}");
......
3699 3699
		  }
3700 3700
		else
3701 3701
		  {
3702
		    func (stream, psr_name (given & 0xff));
3702
		    func (stream, "%s", psr_name (given & 0xff));
3703 3703
		  }
3704 3704
		break;
3705 3705

  
......
3707 3707
		if ((given & 0xff) == 0)
3708 3708
		  func (stream, "%cPSR", (given & 0x100000) ? 'S' : 'C');
3709 3709
		else
3710
		  func (stream, psr_name (given & 0xff));
3710
		  func (stream, "%s", psr_name (given & 0xff));
3711 3711
		break;
3712 3712

  
3713 3713
	      case '0': case '1': case '2': case '3': case '4':

Also available in: Unified diff