summaryrefslogtreecommitdiff
path: root/trans/streamio.c
diff options
context:
space:
mode:
Diffstat (limited to 'trans/streamio.c')
-rw-r--r--trans/streamio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/trans/streamio.c b/trans/streamio.c
index 9019f208..fec00578 100644
--- a/trans/streamio.c
+++ b/trans/streamio.c
@@ -830,6 +830,7 @@ device_open_reply (mach_port_t reply, int returncode, mach_port_t device)
/* XXX Assume that the block size is 1 and the whole size is 0. */
dev_blksize = 1;
dev_size = 0;
+ err = 0;
}
else if (err == 0)
{