summaryrefslogtreecommitdiff
path: root/src/os_vms.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os_vms.c')
-rw-r--r--src/os_vms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_vms.c b/src/os_vms.c
index 6fd05d503..ff3bf2c16 100644
--- a/src/os_vms.c
+++ b/src/os_vms.c
@@ -317,7 +317,7 @@ vms_read(char *inbuf, size_t nbytes)
function = (IO$_READLBLK | IO$M_EXTEND);
memset(inbuf, 0, nbytes);
- while (1)
+ for (;;)
{
status = sys$qiow(0, iochan, function, &iosb, 0, 0, inbuf, nbytes - 1,
0, 0, &itmlst, sizeof(itmlst));