[4141] in Athena Bugs

home help back first fref pref prev next nref lref last post

re: VS3100 sdc floppy light never turns off

daemon@ATHENA.MIT.EDU (John T Kohl)
Mon Feb 5 13:17:36 1990

Date: Mon, 5 Feb 90 13:17:16 -0500
From: John T Kohl <jtkohl@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU, epeisach@ATHENA.MIT.EDU
In-Reply-To: [4140]
The patches to the open/close routines neglect to reflect the return
status back to the caller.

e.g. sdcopen() should have a body of

	return sdopen(dev, flag, 0);

instead of 

	sdopen(dev, flag, 0);

[luckily, on the VAX this makes no difference, since r0 is used to
return values, and will be untouched--hence returned--by the existing
code, but some mutant compiler might feel free to trash r0 upon an
undefined function return value.]

John

home help back first fref pref prev next nref lref last post