From 4aa5387491dea09401962592578538474e6ec551 Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Wed, 12 Jul 2000 00:59:32 +0000 Subject: [PATCH] Don't call fprintf() without a format string. --- gnu/usr.bin/tar/port.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/usr.bin/tar/port.c b/gnu/usr.bin/tar/port.c index 60b0f0f42932..23c197acfc46 100644 --- a/gnu/usr.bin/tar/port.c +++ b/gnu/usr.bin/tar/port.c @@ -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 #include #include @@ -629,7 +631,7 @@ panic (s) { if (myname) fprintf (stderr, "%s:", myname); - fprintf (stderr, s); + fprintf (stderr, "%s", s); putc ('\n', stderr); exit (12); }