summaryrefslogtreecommitdiff
path: root/libarchive/archive_write_set_format_v7tar.c
diff options
context:
space:
mode:
authorGraham Percival <graham@percival-music.ca>2016-12-03 15:00:40 -0800
committerJoerg Sonnenberger <joerg@bec.de>2016-12-04 00:00:40 +0100
commit17feb73ffcb0a955c42e1964c47da046976e7734 (patch)
tree851fc4574740fdfe921fb3e9018cf6715fcd4d7f /libarchive/archive_write_set_format_v7tar.c
parentcaf9b87de21222aa32c3a9b5c620286b2717e71c (diff)
downloadlibarchive-17feb73ffcb0a955c42e1964c47da046976e7734.tar.gz
Spelling fixes (#831)
Sponsored by: Tarsnap Backup Inc.
Diffstat (limited to 'libarchive/archive_write_set_format_v7tar.c')
-rw-r--r--libarchive/archive_write_set_format_v7tar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libarchive/archive_write_set_format_v7tar.c b/libarchive/archive_write_set_format_v7tar.c
index 17efbaf7..a6ca158d 100644
--- a/libarchive/archive_write_set_format_v7tar.c
+++ b/libarchive/archive_write_set_format_v7tar.c
@@ -98,9 +98,9 @@ static const char template_header[] = {
'0','0','0','0','0','0', ' ','\0',
/* gid, space-null termination: 8 bytes */
'0','0','0','0','0','0', ' ','\0',
- /* size, space termation: 12 bytes */
+ /* size, space termination: 12 bytes */
'0','0','0','0','0','0','0','0','0','0','0', ' ',
- /* mtime, space termation: 12 bytes */
+ /* mtime, space termination: 12 bytes */
'0','0','0','0','0','0','0','0','0','0','0', ' ',
/* Initial checksum value: 8 spaces */
' ',' ',' ',' ',' ',' ',' ',' ',
@@ -314,7 +314,7 @@ archive_write_v7tar_header(struct archive_write *a, struct archive_entry *entry)
}
#if defined(_WIN32) && !defined(__CYGWIN__)
- /* Make sure the path separators in pahtname, hardlink and symlink
+ /* Make sure the path separators in pathname, hardlink and symlink
* are all slash '/', not the Windows path separator '\'. */
entry_main = __la_win_entry_in_posix_pathseparator(entry);
if (entry_main == NULL) {