summaryrefslogtreecommitdiff
path: root/libarchive/archive_read_disk_windows.c
diff options
context:
space:
mode:
authorGraham Percival <gperciva@tarsnap.com>2016-12-08 09:46:33 -0800
committerGraham Percival <gperciva@tarsnap.com>2016-12-08 09:46:33 -0800
commit458281a16873f3c443d0322352a28a28188ffb0c (patch)
treed185290ca8cf68c75ba9c58f5b8f191b9b726cb6 /libarchive/archive_read_disk_windows.c
parent64082b6529c691d566eb87932b9337f415a6eb38 (diff)
downloadlibarchive-458281a16873f3c443d0322352a28a28188ffb0c.tar.gz
Spelling fix in "struct tree{}" code
Sponsored by: Tarsnap Backup Inc.
Diffstat (limited to 'libarchive/archive_read_disk_windows.c')
-rw-r--r--libarchive/archive_read_disk_windows.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libarchive/archive_read_disk_windows.c b/libarchive/archive_read_disk_windows.c
index 0532afa4..993a1dc4 100644
--- a/libarchive/archive_read_disk_windows.c
+++ b/libarchive/archive_read_disk_windows.c
@@ -168,7 +168,7 @@ struct tree {
int initial_filesystem_id;
int current_filesystem_id;
int max_filesystem_id;
- int allocated_filesytem;
+ int allocated_filesystem;
HANDLE entry_fh;
int entry_eof;
@@ -1271,7 +1271,7 @@ update_current_filesystem(struct archive_read_disk *a, int64_t dev)
* There is a new filesystem, we generate a new ID for.
*/
fid = t->max_filesystem_id++;
- if (t->max_filesystem_id > t->allocated_filesytem) {
+ if (t->max_filesystem_id > t->allocated_filesystem) {
size_t s;
void *p;
@@ -1284,7 +1284,7 @@ update_current_filesystem(struct archive_read_disk *a, int64_t dev)
return (ARCHIVE_FATAL);
}
t->filesystem_table = (struct filesystem *)p;
- t->allocated_filesytem = (int)s;
+ t->allocated_filesystem = (int)s;
}
t->current_filesystem_id = fid;
t->current_filesystem = &(t->filesystem_table[fid]);