diff options
author | Stephen Crane <steve.crane@rococosoft.com> | 2003-02-08 12:08:55 +0000 |
---|---|---|
committer | Stephen Crane <steve.crane@rococosoft.com> | 2003-02-08 12:08:55 +0000 |
commit | aaa780de16b91375ba63bdf4929bc5b7a2a0c8f6 (patch) | |
tree | 12730923e2c2ff8153be454e3042482e19676920 /tools | |
parent | 227df09e733b7ad5421903d4e48d36860d14327f (diff) |
typos
Diffstat (limited to 'tools')
-rw-r--r-- | tools/hciattach.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/hciattach.c b/tools/hciattach.c index 78deb53b..f30ae033 100644 --- a/tools/hciattach.c +++ b/tools/hciattach.c @@ -796,10 +796,10 @@ int init_uart(char *dev, struct uart_t *u) return -1; } - /* Set TTY to N_HCI line discpline */ + /* Set TTY to N_HCI line discipline */ i = N_HCI; if (ioctl(fd, TIOCSETD, &i) < 0) { - perror("Can't set line disc"); + perror("Can't set line discipline"); return -1; } @@ -890,7 +890,7 @@ int main(int argc, char *argv[]) } if (!u) { - fprintf(stderr, "Unknow device type or id\n"); + fprintf(stderr, "Unknown device type or id\n"); exit(1); } @@ -910,7 +910,7 @@ int main(int argc, char *argv[]) } if (!u) { - fprintf(stderr, "Unknow device type or id\n"); + fprintf(stderr, "Unknown device type or id\n"); exit(1); } @@ -919,12 +919,12 @@ int main(int argc, char *argv[]) sa.sa_handler = sig_alarm; sigaction(SIGALRM, &sa, NULL); - /* 5 seconds should be enough for intialization */ + /* 5 seconds should be enough for initialization */ alarm(to); n = init_uart(dev, u); if (n < 0) { - perror("Can't init device"); + perror("Can't initialize device"); exit(1); } |