Mercurial > illumos > illumos-gate
changeset 13553:3bed7426c561
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>
author | Joshua M. Clulow <josh@sysmgr.org> |
---|---|
date | Fri, 30 Dec 2011 11:54:52 +1100 |
parents | 375fcb299d27 |
children | fae070bfb73a |
files | usr/src/cmd/tr/str.c usr/src/man/man3tecla/gl_get_line.3tecla usr/src/uts/common/io/sata/impl/sata.c |
diffstat | 3 files changed, 4 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/cmd/tr/str.c Fri Dec 23 14:29:49 2011 -0500 +++ b/usr/src/cmd/tr/str.c Fri Dec 30 11:54:52 2011 +1100 @@ -82,10 +82,8 @@ 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;
--- a/usr/src/man/man3tecla/gl_get_line.3tecla Fri Dec 23 14:29:49 2011 -0500 +++ b/usr/src/man/man3tecla/gl_get_line.3tecla Fri Dec 30 11:54:52 2011 +1100 @@ -942,7 +942,7 @@ .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"
--- a/usr/src/uts/common/io/sata/impl/sata.c Fri Dec 23 14:29:49 2011 -0500 +++ b/usr/src/uts/common/io/sata/impl/sata.c Fri Dec 30 11:54:52 2011 +1100 @@ -18451,7 +18451,7 @@ /* * 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.