summaryrefslogtreecommitdiffhomepage
path: root/src/driver/mdso_unit_ctx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver/mdso_unit_ctx.c')
-rw-r--r--src/driver/mdso_unit_ctx.c2
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))