summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2016-02-18 21:51:20 +0000
committerespie <espie@openbsd.org>2016-02-18 21:51:20 +0000
commitc0834b0b9b31e12b615fbd44c5f0dc1e7804d848 (patch)
tree1b2c0570da8a8f153649e4f04e5c278ad7cbffa4
parentFix format string of a warning. (diff)
downloadwireguard-openbsd-c0834b0b9b31e12b615fbd44c5f0dc1e7804d848.tar.xz
wireguard-openbsd-c0834b0b9b31e12b615fbd44c5f0dc1e7804d848.zip
finish conversion select -> poll, error messages count too, sloppy theo.
okay millert@
-rw-r--r--usr.bin/talk/io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/talk/io.c b/usr.bin/talk/io.c
index 908daab6ad5..490f762f536 100644
--- a/usr.bin/talk/io.c
+++ b/usr.bin/talk/io.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: io.c,v 1.19 2016/02/01 07:29:25 mestre Exp $ */
+/* $OpenBSD: io.c,v 1.20 2016/02/18 21:51:20 espie Exp $ */
/* $NetBSD: io.c,v 1.4 1994/12/09 02:14:20 jtc Exp $ */
/*
@@ -87,7 +87,7 @@ talk(void)
if (errno == EINTR)
continue;
/* panic, we don't know what happened */
- quit("Unexpected error from select", 1);
+ quit("Unexpected error from poll", 1);
}
if (fds[1].revents & POLLIN) {
/* There is data on sockt */