summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua M. Clulow <josh@sysmgr.org>2011-12-30 11:54:52 +1100
committerJoshua M. Clulow <josh@sysmgr.org>2011-12-30 11:54:52 +1100
commit8fb237d844590a0968ff8e20e2f2c161d7eadceb (patch)
treed2e32518d7d49cbd546a457568d2970b643e6ccd
parente2ea9c96cc52f45e2bd0daa0d68b4b602819cf1f (diff)
downloadillumos-joyent-8fb237d844590a0968ff8e20e2f2c161d7eadceb.tar.gz
1938 various letters out of seqeunce
Reviewed by: Alexander Eremin <alexander.r.eremin@gmail.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Richard Elling <richard.elling@richardelling.com> Approved by: Richard Lowe <richlowe@richlowe.net>
-rw-r--r--usr/src/cmd/tr/str.c6
-rw-r--r--usr/src/man/man3tecla/gl_get_line.3tecla2
-rw-r--r--usr/src/uts/common/io/sata/impl/sata.c2
3 files changed, 4 insertions, 6 deletions
diff --git a/usr/src/cmd/tr/str.c b/usr/src/cmd/tr/str.c
index 6219e7819c..40d8ae44ad 100644
--- a/usr/src/cmd/tr/str.c
+++ b/usr/src/cmd/tr/str.c
@@ -82,10 +82,8 @@ next(s)
default:
clen = mbrtowc(&wch, s->str, MB_LEN_MAX, NULL);
if (clen == (size_t)-1 || clen == (size_t)-2 ||
- clen == 0) {
- (void) fprintf(stderr, "Illegal seqeunce.\n");
- exit(1);
- }
+ clen == 0)
+ errx(1, "illegal sequence");
is_octal = 0;
s->lastch = wch;
s->str += clen;
diff --git a/usr/src/man/man3tecla/gl_get_line.3tecla b/usr/src/man/man3tecla/gl_get_line.3tecla
index 4d0cfd0e8c..f85a1ed7e6 100644
--- a/usr/src/man/man3tecla/gl_get_line.3tecla
+++ b/usr/src/man/man3tecla/gl_get_line.3tecla
@@ -942,7 +942,7 @@ Resume command-line editing.
.LP
Note that the \fIname\fR argument of \fBgl_register_action()\fR specifies the
name by which a user can refer to the action in their configuration file. This
-allows them to re-bind the action to an alternate key-seqeunce. In order for
+allows them to re-bind the action to an alternate key-sequence. In order for
this to work, it is necessary to call \fBgl_register_action()\fR between
calling \fBnew_GetLine()\fR and the first call to \fBgl_get_line()\fR.
.SS "History Files"
diff --git a/usr/src/uts/common/io/sata/impl/sata.c b/usr/src/uts/common/io/sata/impl/sata.c
index d6229aa9c5..90ff93a284 100644
--- a/usr/src/uts/common/io/sata/impl/sata.c
+++ b/usr/src/uts/common/io/sata/impl/sata.c
@@ -18451,7 +18451,7 @@ sata_process_port_failed_event(sata_hba_inst_t *sata_hba_inst,
/*
* Device Reset Event processing.
- * The seqeunce is managed by 3 stage flags:
+ * The sequence is managed by 3 stage flags:
* - reset event reported,
* - reset event being processed,
* - request to clear device reset state.