diff options
Diffstat (limited to 'usr.bin/wall/ttymsg.c')
-rw-r--r-- | usr.bin/wall/ttymsg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/wall/ttymsg.c b/usr.bin/wall/ttymsg.c index 01db118..131cf2c 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; |