From bd7f175b255c4f181131d90da8bdc9a3734ef6d7 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Tue, 11 Dec 2001 21:45:58 +0000 Subject: 2001-12-11 Marcus Brinkmann * streamio.c (device_open_reply): In the D_INVALID_OPERATION case, clear ERR, which is a global variable. --- trans/streamio.c | 1 + 1 file changed, 1 insertion(+) (limited to 'trans/streamio.c') 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) { -- cgit v1.2.3