summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorcgd <cgd@NetBSD.org>1994-03-27 09:26:59 +0000
committercgd <cgd@NetBSD.org>1994-03-27 09:26:59 +0000
commitd85e4acf72a53461dc5932234de360ea68f72a13 (patch)
treecf48fae766188bb6e704f027d615697e5f312279 /gnu
parent19601b5460972a2100098aad4b6e4e12b20454e9 (diff)
off_t exp.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/tar/create.c4
-rw-r--r--gnu/usr.bin/tar/gnu.c4
-rw-r--r--gnu/usr.bin/tar/update.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/gnu/usr.bin/tar/create.c b/gnu/usr.bin/tar/create.c
index 412091328a8..c0c471f2feb 100644
--- a/gnu/usr.bin/tar/create.c
+++ b/gnu/usr.bin/tar/create.c
@@ -18,7 +18,7 @@ along with GNU Tar; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifndef lint
-static char rcsid[] = "$Id: create.c,v 1.5 1993/08/07 07:42:50 cgd Exp $";
+static char rcsid[] = "$Id: create.c,v 1.6 1994/03/27 09:26:59 cgd Exp $";
#endif /* not lint */
/*
@@ -578,7 +578,7 @@ dump_file (p, curdev, toplevel)
if (count < 0)
{
msg_perror ("read error at byte %ld, reading\
- %d bytes, in file %s", hstat.st_size - sizeleft, bufsize, p);
+ %qd bytes, in file %s", hstat.st_size - sizeleft, bufsize, p);
goto padit;
}
sizeleft -= count;
diff --git a/gnu/usr.bin/tar/gnu.c b/gnu/usr.bin/tar/gnu.c
index f1b25f7d8dd..878546680d0 100644
--- a/gnu/usr.bin/tar/gnu.c
+++ b/gnu/usr.bin/tar/gnu.c
@@ -18,7 +18,7 @@ along with GNU Tar; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifndef lint
-static char rcsid[] = "$Id: gnu.c,v 1.3 1993/08/02 17:48:50 mycroft Exp $";
+static char rcsid[] = "$Id: gnu.c,v 1.4 1994/03/27 09:27:25 cgd Exp $";
#endif /* not lint */
#include <stdio.h>
@@ -585,7 +585,7 @@ gnu_restore (skipcrud)
archive_dir = (char *) ck_malloc (hstat.st_size);
if (archive_dir == 0)
{
- msg ("Can't allocate %d bytes for restore", hstat.st_size);
+ msg ("Can't allocate %qd bytes for restore", hstat.st_size);
skip_file ((long) hstat.st_size);
return;
}
diff --git a/gnu/usr.bin/tar/update.c b/gnu/usr.bin/tar/update.c
index f1b090d90ed..069bd09f94b 100644
--- a/gnu/usr.bin/tar/update.c
+++ b/gnu/usr.bin/tar/update.c
@@ -18,7 +18,7 @@ along with GNU Tar; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifndef lint
-static char rcsid[] = "$Id: update.c,v 1.3 1993/08/02 17:49:08 mycroft Exp $";
+static char rcsid[] = "$Id: update.c,v 1.4 1994/03/27 09:27:38 cgd Exp $";
#endif /* not lint */
/* JF implement the 'r' 'u' and 'A' options for tar. */
@@ -229,7 +229,7 @@ append_file (p)
count = read (fd, start->charptr, bufsiz);
if (count < 0)
{
- msg_perror ("read error at byte %ld reading %d bytes in file %s", statbuf.st_size - bytes_left, bufsiz, p);
+ msg_perror ("read error at byte %qd reading %d bytes in file %s", statbuf.st_size - bytes_left, bufsiz, p);
exit (EX_ARGSBAD); /* FOO */
}
bytes_left -= count;