Merge branch 'dl/wrapper-fix-indentation'
Coding style fix. * dl/wrapper-fix-indentation: wrapper: indent with tabsmaint
commit
b660a76d0f
|
@ -218,7 +218,7 @@ ssize_t xread(int fd, void *buf, size_t len)
|
||||||
{
|
{
|
||||||
ssize_t nr;
|
ssize_t nr;
|
||||||
if (len > MAX_IO_SIZE)
|
if (len > MAX_IO_SIZE)
|
||||||
len = MAX_IO_SIZE;
|
len = MAX_IO_SIZE;
|
||||||
while (1) {
|
while (1) {
|
||||||
nr = read(fd, buf, len);
|
nr = read(fd, buf, len);
|
||||||
if (nr < 0) {
|
if (nr < 0) {
|
||||||
|
@ -240,7 +240,7 @@ ssize_t xwrite(int fd, const void *buf, size_t len)
|
||||||
{
|
{
|
||||||
ssize_t nr;
|
ssize_t nr;
|
||||||
if (len > MAX_IO_SIZE)
|
if (len > MAX_IO_SIZE)
|
||||||
len = MAX_IO_SIZE;
|
len = MAX_IO_SIZE;
|
||||||
while (1) {
|
while (1) {
|
||||||
nr = write(fd, buf, len);
|
nr = write(fd, buf, len);
|
||||||
if (nr < 0) {
|
if (nr < 0) {
|
||||||
|
|
Loading…
Reference in New Issue