diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2022-12-28 21:30:20 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2022-12-28 21:30:20 +0000 |
commit | 30c6e2bff10bcc21f60c21eb9d29068c6790aed4 (patch) | |
tree | 160b7cd24896186ded48d98dd67e701b7f1c7ff2 /usr.sbin/lpd/printer.c | |
parent | 6d982a342f98d6530a0f71d5f67313d5f2a07382 (diff) |
spelling fixes; from paul tagliamonte
any parts of his diff not taken are noted on tech
Diffstat (limited to 'usr.sbin/lpd/printer.c')
-rw-r--r-- | usr.sbin/lpd/printer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/lpd/printer.c b/usr.sbin/lpd/printer.c index 160b7f1e53e..ca9d5c0c3b0 100644 --- a/usr.sbin/lpd/printer.c +++ b/usr.sbin/lpd/printer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: printer.c,v 1.3 2021/10/24 21:24:18 deraadt Exp $ */ +/* $OpenBSD: printer.c,v 1.4 2022/12/28 21:30:17 jmc Exp $ */ /* * Copyright (c) 2017 Eric Faurot <eric@openbsd.org> @@ -141,7 +141,7 @@ printer(int debug, int verbose, const char *name) /* * Redirect stderr if not in debug mode. - * This must be done before dropping priviledges. + * This must be done before dropping privileges. */ if (!debug) { fd = open(LP_LF(lp), O_WRONLY|O_APPEND); @@ -154,7 +154,7 @@ printer(int debug, int verbose, const char *name) } } - /* Drop priviledges. */ + /* Drop privileges. */ if ((pw = getpwnam(LPD_USER)) == NULL) fatalx("unknown user " LPD_USER); @@ -1112,7 +1112,7 @@ prn_open(void) /* * Open the printer device, or connect to the remote host. - * Return the printer file desciptor, or -1 on error. + * Return the printer file descriptor, or -1 on error. */ static int prn_connect(void) |