diff options
author | uqs <uqs@FreeBSD.org> | 2011-12-30 10:58:14 +0000 |
---|---|---|
committer | uqs <uqs@FreeBSD.org> | 2011-12-30 10:58:14 +0000 |
commit | 415a3a9b966c1522657d435a1785904f41accc78 (patch) | |
tree | 8895a44928d5c242eb33f5909e96b16aa8b19f50 /usr.sbin/lpr/common_source | |
parent | c12910138c122eb89614cb32832cc1e81e4c23a7 (diff) | |
download | FreeBSD-src-415a3a9b966c1522657d435a1785904f41accc78.zip FreeBSD-src-415a3a9b966c1522657d435a1785904f41accc78.tar.gz |
Spelling fixes for usr.sbin/
Diffstat (limited to 'usr.sbin/lpr/common_source')
-rw-r--r-- | usr.sbin/lpr/common_source/rmjob.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/lpr/common_source/rmjob.c b/usr.sbin/lpr/common_source/rmjob.c index 2a6b0e9..912a48f 100644 --- a/usr.sbin/lpr/common_source/rmjob.c +++ b/usr.sbin/lpr/common_source/rmjob.c @@ -78,7 +78,7 @@ void rmjob(const char *printer) { register int i, nitems; - int assasinated = 0; + int assassinated = 0; struct dirent **files; char *cp; struct printer myprinter, *pp = &myprinter; @@ -125,9 +125,9 @@ rmjob(const char *printer) */ if (lockchk(pp, pp->lock_file) && chk(current)) { seteuid(euid); - assasinated = kill(cur_daemon, SIGINT) == 0; + assassinated = kill(cur_daemon, SIGINT) == 0; seteuid(uid); - if (!assasinated) + if (!assassinated) fatal(pp, "cannot kill printer daemon"); } /* @@ -140,7 +140,7 @@ rmjob(const char *printer) /* * Restart the printer daemon if it was killed */ - if (assasinated && !startdaemon(pp)) + if (assassinated && !startdaemon(pp)) fatal(pp, "cannot restart printer daemon\n"); exit(0); } |