summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2004-06-08 00:23:27 +0000
committerkientzle <kientzle@FreeBSD.org>2004-06-08 00:23:27 +0000
commit71abd863dcb3f17269d59f8bbc7af377c4460cd1 (patch)
treee7cbb63244e9132315958197329160aca28bc8f3 /lib
parente0ac92157b3bc6f6848401d923f4e1c6f7eb3e5f (diff)
downloadFreeBSD-src-71abd863dcb3f17269d59f8bbc7af377c4460cd1.zip
FreeBSD-src-71abd863dcb3f17269d59f8bbc7af377c4460cd1.tar.gz
Correct some spelling errors.
Diffstat (limited to 'lib')
-rw-r--r--lib/libarchive/archive_read.312
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libarchive/archive_read.3 b/lib/libarchive/archive_read.3
index 79174f4..f195d57 100644
--- a/lib/libarchive/archive_read.3
+++ b/lib/libarchive/archive_read.3
@@ -288,7 +288,7 @@ list_archive(const char *name)
archive_read_support_compression_all(a);
archive_read_support_format_all(a);
archive_read_open(a, mydata, myopen, myread, myclose);
- while (archive_read_next_header(a, &entry) == ARCHIVE_READ_OK) {
+ while (archive_read_next_header(a, &entry) == ARCHIVE_OK) {
printf("%s\\n",archive_entry_pathname(entry));
archive_read_data_skip(a);
}
@@ -327,16 +327,16 @@ myclose(struct archive *a, void *client_data)
.Sh RETURN VALUES
Most functions return zero on success, non-zero on error.
The possible return codes include:
-.Cm ARCHIVE_READ_OK
+.Cm ARCHIVE_OK
(the operation succeeded)
-.Cm ARCHIVE_READ_WARN
+.Cm ARCHIVE_WARN
(the operation succeeded but a non-critical error was encountered)
-.Cm ARCHIVE_READ_EOF
+.Cm ARCHIVE_EOF
(end-of-archive was encountered),
-.Cm ARCHIVE_READ_RETRY
+.Cm ARCHIVE_RETRY
(the operation failed but can be retried),
and
-.Cm ARCHIVE_READ_FATAL
+.Cm ARCHIVE_FATAL
(there was a fatal error; the archive should be closed immediately).
Detailed error codes and textual descriptions are available from the
.Fn archive_errno
OpenPOWER on IntegriCloud