Delete temporary string within demangler even in failure cases.
[deliverable/binutils-gdb.git] / opcodes / s390-mkopc.c
index 6aed72b8182a64d7328df4dee86a0b7db52f7e52..bf30f5bc213301fc159b049d7e3136a55c21a67f 100644 (file)
@@ -1,5 +1,5 @@
 /* s390-mkopc.c -- Generates opcode table out of s390-opc.txt
-   Copyright 2000, 2001, 2003, 2005, 2007, 2008 Free Software Foundation, Inc.
+   Copyright (C) 2000-2014 Free Software Foundation, Inc.
    Contributed by Martin Schwidefsky (schwidefsky@de.ibm.com).
 
    This file is part of the GNU opcodes library.
@@ -298,7 +298,7 @@ dumpTable (void)
   int  ix;
 
   /*  Write hash table entries (slots).  */
-  printf (file_header);
+  printf ("%s", file_header);
 
   for (ix = 0; ix < no_ops; ix++)
     {
This page took 0.024442 seconds and 4 git commands to generate.