summaryrefslogtreecommitdiffstats
path: root/usr.sbin/lpr/lpc/cmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/lpr/lpc/cmds.c')
-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