summaryrefslogtreecommitdiffstats
path: root/bin/pax/ar_io.c
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2001-04-26 09:22:28 +0000
committerkris <kris@FreeBSD.org>2001-04-26 09:22:28 +0000
commitf94a8fb47c29e9bfcd6c630a381d671b1670b986 (patch)
tree62d348421154571eb4d0094e18b9a5067218d852 /bin/pax/ar_io.c
parent87160071b6b87e996f79019f5af6d0633b727761 (diff)
downloadFreeBSD-src-f94a8fb47c29e9bfcd6c630a381d671b1670b986.zip
FreeBSD-src-f94a8fb47c29e9bfcd6c630a381d671b1670b986.tar.gz
Whitespace cleanup pass; reduce diffs with OpenBSD. No functional changes.
Diffstat (limited to 'bin/pax/ar_io.c')
-rw-r--r--bin/pax/ar_io.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/bin/pax/ar_io.c b/bin/pax/ar_io.c
index 0c86ff0..0d02f20 100644
--- a/bin/pax/ar_io.c
+++ b/bin/pax/ar_io.c
@@ -78,7 +78,7 @@ static struct stat arsb; /* stat of archive device at open */
static int invld_rec; /* tape has out of spec record size */
static int wr_trail = 1; /* trailer was rewritten in append */
static int can_unlnk = 0; /* do we unlink null archives? */
-char *arcname; /* printable name of archive */
+char *arcname; /* printable name of archive */
static int get_phys __P((void));
extern sigset_t s_mask;
@@ -101,7 +101,7 @@ ar_open(name)
char *name;
#endif
{
- struct mtget mb;
+ struct mtget mb;
if (arfd != -1)
(void)close(arfd);
@@ -389,11 +389,11 @@ ar_close()
(void)fprintf(outf,
# ifdef NET2_STAT
- "%s: %s vol %d, %lu files, %lu bytes read, %lu bytes written.\n",
+ "%s: %s vol %d, %lu files, %lu bytes read, %lu bytes written.\n",
# else
- "%s: %s vol %d, %lu files, %qu bytes read, %qu bytes written.\n",
+ "%s: %s vol %d, %lu files, %qu bytes read, %qu bytes written.\n",
# endif
- argv0, frmt->name, arvol-1, flcnt, rdcnt, wrcnt);
+ argv0, frmt->name, arvol-1, flcnt, rdcnt, wrcnt);
(void)fflush(outf);
flcnt = 0;
}
@@ -740,7 +740,7 @@ ar_rdsync()
long fsbz;
off_t cpos;
off_t mpos;
- struct mtop mb;
+ struct mtop mb;
/*
* Fail resync attempts at user request (done) or this is going to be
@@ -896,7 +896,7 @@ ar_rev(sksz)
#endif
{
off_t cpos;
- struct mtop mb;
+ struct mtop mb;
register int phyblk;
/*
@@ -1256,10 +1256,10 @@ ar_next()
tty_prnt("Empty file name, try again\n");
continue;
}
- if (!strcmp(buf, "..")) {
- tty_prnt("Illegal file name: .. try again\n");
- continue;
- }
+ if (!strcmp(buf, "..")) {
+ tty_prnt("Illegal file name: .. try again\n");
+ continue;
+ }
if (strlen(buf) > PAXPATHLEN) {
tty_prnt("File name too long, try again\n");
continue;
OpenPOWER on IntegriCloud