Revision d14a68b6

b/m68k-dis.c
1104 1104
      {
1105 1105
        static const char *const cacheFieldName[] = { "nc", "dc", "ic", "bc" };
1106 1106
        val = fetch_arg (buffer, place, 2, info);
1107
        (*info->fprintf_func) (info->stream, cacheFieldName[val]);
1107
        (*info->fprintf_func) (info->stream, "%s", cacheFieldName[val]);
1108 1108
        break;
1109 1109
      }
1110 1110

  
......
1199 1199
	{
1200 1200
	  static const char *const scalefactor_name[] = { "<<", ">>" };
1201 1201
	  val = fetch_arg (buffer, place, 1, info);
1202
	  (*info->fprintf_func) (info->stream, scalefactor_name[val]);
1202
	  (*info->fprintf_func) (info->stream, "%s", scalefactor_name[val]);
1203 1203
	}
1204 1204
      else
1205 1205
	{
......
1804 1804

  
1805 1805
  save_p = p;
1806 1806
  info->print_address_func = dummy_print_address;
1807
  info->fprintf_func = (fprintf_ftype) dummy_printer;
1807
  info->fprintf_func = dummy_printer;
1808 1808

  
1809 1809
  /* We scan the operands twice.  The first time we don't print anything,
1810 1810
     but look for errors.  */

Also available in: Unified diff