diff options
| author | kleink <kleink@NetBSD.org> | 2000-06-26 08:25:34 +0000 |
|---|---|---|
| committer | kleink <kleink@NetBSD.org> | 2000-06-26 08:25:34 +0000 |
| commit | 5f8a7179289d2dd70a93fb2bbeb6e55dbbdb0755 (patch) | |
| tree | ea898e2ad9bb76472e0bd61652367ff53435b280 /gnu/usr.bin | |
| parent | 89dea2102ae4e25c0f7a69a6989cf1a8529c3a77 (diff) | |
Change tot_written from u_quad_t to unsigned long long for portability's
sake.
Diffstat (limited to 'gnu/usr.bin')
| -rw-r--r-- | gnu/usr.bin/tar/tar.c | 4 | ||||
| -rw-r--r-- | gnu/usr.bin/tar/tar.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gnu/usr.bin/tar/tar.c b/gnu/usr.bin/tar/tar.c index 69a6a3ab6f3..61f4a52967d 100644 --- a/gnu/usr.bin/tar/tar.c +++ b/gnu/usr.bin/tar/tar.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[] = "$NetBSD: tar.c,v 1.11 1997/10/10 00:16:02 thorpej Exp $"; +static char rcsid[] = "$NetBSD: tar.c,v 1.12 2000/06/26 08:25:34 kleink Exp $"; #endif /* not lint */ /* @@ -231,7 +231,7 @@ main (argc, argv) case CMD_CREATE: create_archive (); if (f_totals) - fprintf (stderr, "Total bytes written: %qu\n", tot_written); + fprintf (stderr, "Total bytes written: %llu\n", tot_written); break; case CMD_EXTRACT: if (f_volhdr) diff --git a/gnu/usr.bin/tar/tar.h b/gnu/usr.bin/tar/tar.h index 617aca2a761..3b91d06456a 100644 --- a/gnu/usr.bin/tar/tar.h +++ b/gnu/usr.bin/tar/tar.h @@ -17,7 +17,7 @@ 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. - $Id: tar.h,v 1.7 1997/06/06 07:59:57 jeremy Exp $ + $Id: tar.h,v 1.8 2000/06/26 08:25:35 kleink Exp $ */ /* major() and minor() macros (among other things) defined here for hpux */ @@ -170,7 +170,7 @@ TAR_EXTERN char filename_terminator; /* \n or \0. */ TAR_EXTERN char *tar; /* Name of this program */ TAR_EXTERN struct sp_array *sparsearray; /* Pointer to the start of the scratch space */ TAR_EXTERN int sp_array_size; /* Initial size of the sparsearray */ -TAR_EXTERN u_quad_t tot_written; /* Total written to output */ +TAR_EXTERN unsigned long long tot_written; /* Total written to output */ TAR_EXTERN struct re_pattern_buffer *label_pattern; /* compiled regex for extract label */ TAR_EXTERN char **ar_files; /* list of tape drive names */ |
