git: 05d85d778124 - main - lpr: Fix typos

From: Warner Losh <imp_at_FreeBSD.org>
Date: Fri, 02 Jun 2023 02:33:52 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=05d85d77812429b83839c71b83c540fc422ae1ba

commit 05d85d77812429b83839c71b83c540fc422ae1ba
Author:     Elyes Haouas <ehaouas@noos.fr>
AuthorDate: 2023-06-01 23:41:32 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-06-02 02:33:39 +0000

    lpr: Fix typos
    
    Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
    Reviewed by: imp
    Pull Request: https://github.com/freebsd/freebsd-src/pull/653
---
 usr.sbin/lpr/common_source/ctlinfo.h  | 2 +-
 usr.sbin/lpr/common_source/lp.local.h | 2 +-
 usr.sbin/lpr/lpr/lpr.c                | 2 +-
 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;