Run clang-format on most sources

This commit is contained in:
Justine Tunney 2023-04-26 20:45:01 -07:00
parent 614229e3f4
commit 369f9740de
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
228 changed files with 4844 additions and 4637 deletions

View file

@ -37,13 +37,10 @@ ssize_t sys_writev_vga(struct Fd *fd, const struct iovec *iov, int iovlen) {
void *output = iov[i].iov_base;
size_t len = iov[i].iov_len;
res = _TtyWrite(&_vga_tty, output, len);
if (res < 0)
break;
if (res < 0) break;
wrote += res;
if (res != len)
return wrote;
if (res != len) return wrote;
}
if (!wrote)
return res;
if (!wrote) return res;
return wrote;
}