Fix bonehead error in previous change.

This commit is contained in:
mycroft 1998-02-22 03:24:58 +00:00
parent 39ce947f1a
commit 11b3fea04a
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: com.c,v 1.137 1998/02/19 09:33:33 mycroft Exp $ */
/* $NetBSD: com.c,v 1.138 1998/02/22 03:24:58 mycroft Exp $ */
/*-
* Copyright (c) 1993, 1994, 1995, 1996, 1997
@ -857,6 +857,8 @@ comioctl(dev, cmd, data, flag, p)
if (error >= 0)
return (error);
error = 0;
s = splserial();
switch (cmd) {

View File

@ -1,4 +1,4 @@
/* $NetBSD: z8530tty.c,v 1.43 1998/02/19 21:26:10 mycroft Exp $ */
/* $NetBSD: z8530tty.c,v 1.44 1998/02/22 03:25:28 mycroft Exp $ */
/*-
* Copyright (c) 1993, 1994, 1995, 1996, 1997
@ -639,6 +639,8 @@ zsioctl(dev, cmd, data, flag, p)
return (error);
#endif /* ZS_MD_IOCTL */
error = 0;
s = splzs();
switch (cmd) {