summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2004-06-07 03:16:18 +0000
committerkientzle <kientzle@FreeBSD.org>2004-06-07 03:16:18 +0000
commit299fedaaae1eb84255e6dae3fd6ea6191005e830 (patch)
tree7589b8ef024f8955d1a835214c96f80adc942efe
parentf0a68c5d24ee761f311d908d1356100bcd990d91 (diff)
downloadFreeBSD-src-299fedaaae1eb84255e6dae3fd6ea6191005e830.zip
FreeBSD-src-299fedaaae1eb84255e6dae3fd6ea6191005e830.tar.gz
Per style(9), don't use double spaces in expressions.
Pointed out by: njl, des.
-rw-r--r--usr.bin/tar/read.c2
-rw-r--r--usr.bin/tar/write.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tar/read.c b/usr.bin/tar/read.c
index 2f8d5fe..e3850da 100644
--- a/usr.bin/tar/read.c
+++ b/usr.bin/tar/read.c
@@ -272,7 +272,7 @@ list_item_verbose(struct bsdtar *bsdtar, struct archive_entry *entry)
/* Format the time using 'ls -l' conventions. */
tim = (time_t)st->st_mtime;
- if (tim < now - 6*30*24*60*60 || tim > now + 6*30*24*60*60)
+ if (tim < now - 6*30*24*60*60 || tim > now + 6*30*24*60*60)
strftime(tmp, sizeof(tmp), "%b %e %Y", localtime(&tim));
else
strftime(tmp, sizeof(tmp), "%b %e %R", localtime(&tim));
diff --git a/usr.bin/tar/write.c b/usr.bin/tar/write.c
index a08dc09..b6c4282 100644
--- a/usr.bin/tar/write.c
+++ b/usr.bin/tar/write.c
@@ -1126,7 +1126,7 @@ free_cache(struct name_cache *cache)
if (cache != NULL) {
for(i = 0; i < cache->size; i++) {
- if (cache->cache[i].name != NULL &&
+ if (cache->cache[i].name != NULL &&
cache->cache[i].name != NO_NAME)
free((void *)(uintptr_t)cache->cache[i].name);
}
@@ -1249,7 +1249,7 @@ new_enough(struct bsdtar *bsdtar, const char *path,
if (path[0] == '.' && path[1] == '/' && path[2] != '\0')
path += 2;
- if (bsdtar->archive_dir == NULL ||
+ if (bsdtar->archive_dir == NULL ||
bsdtar->archive_dir->head == NULL)
return (1);
OpenPOWER on IntegriCloud