summaryrefslogtreecommitdiffstats
path: root/bin/pax/tables.c
diff options
context:
space:
mode:
authoruqs <uqs@FreeBSD.org>2011-05-22 14:03:38 +0000
committeruqs <uqs@FreeBSD.org>2011-05-22 14:03:38 +0000
commit1fb4642784519876f8220deacb97f0f95ac6c055 (patch)
tree05230016110e6747c95dd7ec35d8a17dc833bc0c /bin/pax/tables.c
parent5179964e55d126b29ad092dc0a48e0980b299f3b (diff)
downloadFreeBSD-src-1fb4642784519876f8220deacb97f0f95ac6c055.zip
FreeBSD-src-1fb4642784519876f8220deacb97f0f95ac6c055.tar.gz
Fix a bunch of typos and a couple of whitespace nits.
Helped by: codespell and vim's spellchecker
Diffstat (limited to 'bin/pax/tables.c')
-rw-r--r--bin/pax/tables.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/pax/tables.c b/bin/pax/tables.c
index 4e96fea..69273fe 100644
--- a/bin/pax/tables.c
+++ b/bin/pax/tables.c
@@ -209,7 +209,7 @@ chk_lnk(ARCHD *arcn)
* purg_lnk
* remove reference for a file that we may have added to the data base as
* a potential source for hard links. We ended up not using the file, so
- * we do not want to accidently point another file at it later on.
+ * we do not want to accidentally point another file at it later on.
*/
void
@@ -306,14 +306,14 @@ lnk_end(void)
* An append with an -u must read the archive and store the modification time
* for every file on that archive before starting the write phase. It is clear
* that this is one HUGE database. To save memory space, the actual file names
- * are stored in a scatch file and indexed by an in memory hash table. The
+ * are stored in a scratch file and indexed by an in memory hash table. The
* hash table is indexed by hashing the file path. The nodes in the table store
* the length of the filename and the lseek offset within the scratch file
* where the actual name is stored. Since there are never any deletions to this
* table, fragmentation of the scratch file is never an issue. Lookups seem to
* not exhibit any locality at all (files in the database are rarely
* looked up more than once...). So caching is just a waste of memory. The
- * only limitation is the amount of scatch file space available to store the
+ * only limitation is the amount of scratch file space available to store the
* path names.
*/
OpenPOWER on IntegriCloud