commit dacb5b0a94bc0fed9ffb5a0fd70829ed6e7c2c5b
parent 3d4f1b12516135c81a976b575eea9a28c6a9cc6d
Author: Jan Klemkow <j.klemkow@wemelug.de>
Date: Tue, 15 Nov 2016 09:57:56 +0100
fix some typos
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lchat.c b/lchat.c
@@ -121,7 +121,7 @@ line_output(struct slackline *sl, char *file)
static void
usage(void)
{
- fprintf(stderr, "lchar [-aeh] [-n lines] [-p prompt] [-t title] [-i in]"
+ fprintf(stderr, "lchat [-aeh] [-n lines] [-p prompt] [-t title] [-i in]"
" [-o out] [directory]\n");
exit(EXIT_FAILURE);
}
@@ -329,7 +329,7 @@ main(int argc, char *argv[])
if (pfd[1].revents & POLLERR || pfd[1].revents & POLLNVAL)
errx(EXIT_FAILURE, "backend error");
- /* handle backend intput */
+ /* handle backend input */
if (pfd[1].revents & POLLIN) {
char buf[BUFSIZ];
ssize_t n = read(pfd[1].fd, buf, sizeof buf);