diff options
author | Graham Percival <gperciva@tarsnap.com> | 2016-12-08 09:46:33 -0800 |
---|---|---|
committer | Graham Percival <gperciva@tarsnap.com> | 2016-12-08 09:46:33 -0800 |
commit | 458281a16873f3c443d0322352a28a28188ffb0c (patch) | |
tree | d185290ca8cf68c75ba9c58f5b8f191b9b726cb6 /libarchive/archive_read_disk_windows.c | |
parent | 64082b6529c691d566eb87932b9337f415a6eb38 (diff) | |
download | libarchive-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.c | 6 |
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]); |