aboutsummaryrefslogtreecommitdiffstats
path: root/cpio
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2016-06-21 15:18:22 +0000
committerMartin Matuska <mm@FreeBSD.org>2016-06-21 15:18:22 +0000
commita34769f8e41e568b958c47a99a6d363c097f0073 (patch)
tree5275a0c082e51ee8780f6a4daefb587eb4e6bd69 /cpio
parent3786dd4a5cb7fea782850bc62a452d8b2b98b8e7 (diff)
downloadsrc-a34769f8e41e568b958c47a99a6d363c097f0073.tar.gz
src-a34769f8e41e568b958c47a99a6d363c097f0073.zip
Update vendor/libarchive to git f502a81fcd7c331204bf53cc40cbf966ebb28a42
Notes
Notes: svn path=/vendor/libarchive/dist/; revision=302056
Diffstat (limited to 'cpio')
-rw-r--r--cpio/cpio.c2
-rw-r--r--cpio/test/test_option_version.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/cpio/cpio.c b/cpio/cpio.c
index 4b69893b4579..c11ac163122d 100644
--- a/cpio/cpio.c
+++ b/cpio/cpio.c
@@ -498,7 +498,7 @@ long_help(void)
static void
version(void)
{
- fprintf(stdout,"bsdcpio %s -- %s\n",
+ fprintf(stdout,"bsdcpio %s - %s\n",
BSDCPIO_VERSION_STRING,
archive_version_details());
exit(0);
diff --git a/cpio/test/test_option_version.c b/cpio/test/test_option_version.c
index 2f2c40901700..32ba3000477e 100644
--- a/cpio/test/test_option_version.c
+++ b/cpio/test/test_option_version.c
@@ -59,8 +59,8 @@ verify(const char *p, size_t s)
++q; --s;
/* Separator. */
failure("Version: %s", p);
- assertEqualMem(q, "-- ", 3);
- q += 3; s -= 3;
+ assertEqualMem(q, "- ", 2);
+ q += 2; s -= 2;
/* libarchive name and version number */
assert(s > 11);
failure("Version: %s", p);