(readv): typo

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6427 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-07-06 04:01:06 +00:00
parent 69a24aca75
commit e1dc1da886

View File

@@ -54,7 +54,7 @@ readv(int d, const struct iovec *iov, int iovcnt)
for(i = 0; i < iovcnt; ++i)
tot += iov[i].iov_len;
buf = malloc(tot);
if (tut != 0 && buf == NULL) {
if (tot != 0 && buf == NULL) {
errno = ENOMEM;
return -1;
}