summaryrefslogtreecommitdiffstats
path: root/bin/pax/cpio.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/cpio.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/cpio.c')
-rw-r--r--bin/pax/cpio.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/pax/cpio.c b/bin/pax/cpio.c
index 67602fa..0d9cc9f 100644
--- a/bin/pax/cpio.c
+++ b/bin/pax/cpio.c
@@ -627,7 +627,7 @@ vcpio_rd(ARCHD *arcn, char *buf)
return(-1);
/*
- * skip padding. header + filename is aligned to 4 byte boundries
+ * skip padding. header + filename is aligned to 4 byte boundaries
*/
if (rd_skip((off_t)(VCPIO_PAD(sizeof(HD_VCPIO) + nsz))) < 0)
return(-1);
@@ -942,7 +942,7 @@ bcpio_rd(ARCHD *arcn, char *buf)
return(-1);
/*
- * header + file name are aligned to 2 byte boundries, skip if needed
+ * header + file name are aligned to 2 byte boundaries, skip if needed
*/
if (rd_skip((off_t)(BCPIO_PAD(sizeof(HD_BCPIO) + nsz))) < 0)
return(-1);
@@ -989,8 +989,8 @@ bcpio_endrd(void)
* bcpio_wr()
* copy the data in the ARCHD to buffer in old binary cpio format
* There is a real chance of field overflow with this critter. So we
- * always check the conversion is ok. nobody in his their right mind
- * should write an achive in this format...
+ * always check that the conversion is ok. nobody in their right mind
+ * should write an archive in this format...
* Return
* 0 if file has data to be written after the header, 1 if file has NO
* data to write after the header, -1 if archive write failed
OpenPOWER on IntegriCloud