Don't call fprintf() without a format string.
This commit is contained in:
parent
ed9ee320b0
commit
4aa5387491
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=62990
@ -17,6 +17,8 @@ You should have received a copy of the GNU General Public License
|
||||
along with GNU Tar; see the file COPYING. If not, write to
|
||||
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
|
||||
/* $FreeBSD$ */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
#include <signal.h>
|
||||
@ -629,7 +631,7 @@ panic (s)
|
||||
{
|
||||
if (myname)
|
||||
fprintf (stderr, "%s:", myname);
|
||||
fprintf (stderr, s);
|
||||
fprintf (stderr, "%s", s);
|
||||
putc ('\n', stderr);
|
||||
exit (12);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user