close routines must return error
[unix-history] / usr / src / sys / vax / mba / mt.c
index e67e402..0bb53db 100644 (file)
@@ -3,7 +3,7 @@
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
- *     @(#)mt.c        7.5 (Berkeley) %G%
+ *     @(#)mt.c        7.6 (Berkeley) %G%
  */
 
 #include "mu.h"
  */
 
 #include "mu.h"
@@ -218,6 +218,7 @@ mtclose(dev, flag)
                log(LOG_INFO, "mu%d: %d soft errors in %d blocks\n",
                    MUUNIT(dev), sc->sc_softerrs, sc->sc_blks);
        sc->sc_openf = 0;
                log(LOG_INFO, "mu%d: %d soft errors in %d blocks\n",
                    MUUNIT(dev), sc->sc_softerrs, sc->sc_blks);
        sc->sc_openf = 0;
+       return (0);
 }
 
 mtcommand(dev, com, count)
 }
 
 mtcommand(dev, com, count)