aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-06-01 23:41:32 +0000
committerWarner Losh <imp@FreeBSD.org>2023-06-02 02:33:39 +0000
commit05d85d77812429b83839c71b83c540fc422ae1ba (patch)
tree0a240bc1d162548c1b070feeb02a42b02ef56a06
parent136a9bb4e348d4dd1edf6e3d1e092bfa074fac3e (diff)
downloadsrc-05d85d77812429b83839c71b83c540fc422ae1ba.tar.gz
src-05d85d77812429b83839c71b83c540fc422ae1ba.zip
lpr: Fix typos
Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/653
-rw-r--r--usr.sbin/lpr/common_source/ctlinfo.h2
-rw-r--r--usr.sbin/lpr/common_source/lp.local.h2
-rw-r--r--usr.sbin/lpr/lpr/lpr.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/lpr/common_source/ctlinfo.h b/usr.sbin/lpr/common_source/ctlinfo.h
index 978efec0e926..87140e5380e9 100644
--- a/usr.sbin/lpr/common_source/ctlinfo.h
+++ b/usr.sbin/lpr/common_source/ctlinfo.h
@@ -56,7 +56,7 @@ struct cjobinfo {
* did the original 'lpr') */
char *cji_class; /* class-name */
char *cji_curqueue; /* printer-queue that this cf-file is
- * curently sitting in (mainly used
+ * currently sitting in (mainly used
* in syslog error messages) */
char *cji_fname; /* filename of the control file */
char *cji_jobname; /* job-name (for banner) */
diff --git a/usr.sbin/lpr/common_source/lp.local.h b/usr.sbin/lpr/common_source/lp.local.h
index c0e3f308f75d..6cf200c356c7 100644
--- a/usr.sbin/lpr/common_source/lp.local.h
+++ b/usr.sbin/lpr/common_source/lp.local.h
@@ -67,7 +67,7 @@
#define DROP 3 /* offset to drop characters with descenders */
/*
- * Define TERMCAP if the terminal capabilites are to be used for lpq.
+ * Define TERMCAP if the terminal capabilities are to be used for lpq.
*/
#define TERMCAP
diff --git a/usr.sbin/lpr/lpr/lpr.c b/usr.sbin/lpr/lpr/lpr.c
index 9845a3774fbe..4f69259303af 100644
--- a/usr.sbin/lpr/lpr/lpr.c
+++ b/usr.sbin/lpr/lpr/lpr.c
@@ -190,7 +190,7 @@ main(int argc, char *argv[])
jobname = optarg;
break;
- case 'P': /* specifiy printer name */
+ case 'P': /* specify printer name */
printer = optarg;
break;