aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/tar
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2000-07-20 10:35:28 +0000
committerKris Kennaway <kris@FreeBSD.org>2000-07-20 10:35:28 +0000
commit2836fb81112adc51d4768d5c19e13c9bfa31981d (patch)
treedee26e21d20f181d416795ad93c750c0f0cea39f /gnu/usr.bin/tar
parentcc79c2dd057a92f581b8c1a81dc746edcf092180 (diff)
Notes
Diffstat (limited to 'gnu/usr.bin/tar')
-rw-r--r--gnu/usr.bin/tar/port.c4
1 files changed, 3 insertions, 1 deletions
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 <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);
}