From 2b00b1d41a3f19a0ac01f0f3d02dfc885eb732e3 Mon Sep 17 00:00:00 2001 From: gdr-ftp Date: Mon, 11 Jan 1999 01:24:47 +0000 Subject: [PATCH] ttymsg.c: Corrected return type of writev(2). --- usr.bin/wall/ttymsg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/wall/ttymsg.c b/usr.bin/wall/ttymsg.c index e4315cb..f101867 100644 --- a/usr.bin/wall/ttymsg.c +++ b/usr.bin/wall/ttymsg.c @@ -174,7 +174,7 @@ ttymsg(struct iovec *iov, int iovcnt, char *line, int tmout) } #ifdef __GNO__ -static size_t writev(int fd, struct iovec *iov, int iovcnt) +ssize_t writev(int fd, struct iovec *iov, int iovcnt) { int i; size_t size, total_size = 0;