summaryrefslogtreecommitdiffstats
path: root/usr.sbin/lpr/lpc
diff options
context:
space:
mode:
authoruqs <uqs@FreeBSD.org>2011-12-30 10:58:14 +0000
committeruqs <uqs@FreeBSD.org>2011-12-30 10:58:14 +0000
commit415a3a9b966c1522657d435a1785904f41accc78 (patch)
tree8895a44928d5c242eb33f5909e96b16aa8b19f50 /usr.sbin/lpr/lpc
parentc12910138c122eb89614cb32832cc1e81e4c23a7 (diff)
downloadFreeBSD-src-415a3a9b966c1522657d435a1785904f41accc78.zip
FreeBSD-src-415a3a9b966c1522657d435a1785904f41accc78.tar.gz
Spelling fixes for usr.sbin/
Diffstat (limited to 'usr.sbin/lpr/lpc')
-rw-r--r--usr.sbin/lpr/lpc/cmds.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/lpr/lpc/cmds.c b/usr.sbin/lpr/lpc/cmds.c
index f8843f9..287825f 100644
--- a/usr.sbin/lpr/lpc/cmds.c
+++ b/usr.sbin/lpr/lpc/cmds.c
@@ -496,7 +496,7 @@ sortq(const void *a, const void *b)
fname_b = (*(const struct dirent * const *)b)->d_name;
/*
- * First separate filenames into cagatories. Catagories are
+ * First separate filenames into categories. Categories are
* legitimate `cf', `df', `rf' & `tf' filenames, and "other" - in
* that order. It is critical that the mapping be exactly the
* same for 'a' vs 'b', so define a macro for the job.
@@ -562,7 +562,7 @@ sortq(const void *a, const void *b)
/*
* We have two files which belong to the same job. Sort based
- * on the catagory of file (`c' before `d', etc).
+ * on the category of file (`c' before `d', etc).
*/
if (cat_a < cat_b) {
res = a_lt_b;
@@ -573,8 +573,8 @@ sortq(const void *a, const void *b)
}
/*
- * Two files in the same catagory for a single job. Sort based
- * on the sequence letter(s). (usually `A' thru `Z', etc).
+ * Two files in the same category for a single job. Sort based
+ * on the sequence letter(s). (usually `A' through `Z', etc).
*/
if (seq_a < seq_b) {
res = a_lt_b;
OpenPOWER on IntegriCloud