summaryrefslogtreecommitdiff
path: root/usr.bin/wall
diff options
context:
space:
mode:
authorMike Barcroft <mike@FreeBSD.org>2002-10-11 14:58:34 +0000
committerMike Barcroft <mike@FreeBSD.org>2002-10-11 14:58:34 +0000
commit2b7f24d21041e3f89b69c6ba9cb4864d472246ad (patch)
tree60ccb9ea10edcf3d8fc8975fb348b756ea207e35 /usr.bin/wall
parent890b32ee41df0d6e6a46be59babec6f1bba0606c (diff)
Notes
Diffstat (limited to 'usr.bin/wall')
-rw-r--r--usr.bin/wall/ttymsg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/wall/ttymsg.c b/usr.bin/wall/ttymsg.c
index 01db11868783..131cf2c403cd 100644
--- a/usr.bin/wall/ttymsg.c
+++ b/usr.bin/wall/ttymsg.c
@@ -114,7 +114,7 @@ ttymsg(struct iovec *iov, int iovcnt, const char *line, int tmout)
--iovcnt;
}
if (wret) {
- iov->iov_base += wret;
+ iov->iov_base = (char *)iov->iov_base + wret;
iov->iov_len -= wret;
}
continue;