diff options
author | midipix <writeonce@midipix.org> | 2018-08-05 01:01:36 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-08-05 01:01:36 -0400 |
commit | b5540e9d03beb77628e06d171318485b6a28fa68 (patch) | |
tree | 350d6bff437000b55c997fa51e3e8ee846859906 /src/driver/mdso_unit_ctx.c | |
parent | 23a7cebeb41463fbfc3c068b9b9981e892906d88 (diff) | |
download | mdso-b5540e9d03beb77628e06d171318485b6a28fa68.tar.bz2 mdso-b5540e9d03beb77628e06d171318485b6a28fa68.tar.xz |
coding-style meditation.
Diffstat (limited to 'src/driver/mdso_unit_ctx.c')
-rw-r--r-- | src/driver/mdso_unit_ctx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver/mdso_unit_ctx.c b/src/driver/mdso_unit_ctx.c index 97c5041..c10a3ca 100644 --- a/src/driver/mdso_unit_ctx.c +++ b/src/driver/mdso_unit_ctx.c @@ -61,7 +61,7 @@ static int mdso_stdin_to_tmp(const struct mdso_driver_ctx * dctx) return -1; } - while (1) { + for (;;) { ret = read(0,buf,sizeof(buf)-1); while ((ret < 0) && (errno == EINTR)) |