Sync with sys/i386/isa/if_ed.c and spkr.c revisions 1.35 and 1.144,

respectively.
This commit is contained in:
kato 1998-08-28 12:47:45 +00:00
parent 59703bfe36
commit a552607250
2 changed files with 6 additions and 5 deletions

View File

@ -24,7 +24,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: if_ed.c,v 1.49 1998/06/17 16:29:27 kato Exp $
* $Id: if_ed.c,v 1.50 1998/06/22 08:06:58 kato Exp $
*/
/*
@ -4252,7 +4252,7 @@ edpnp_probe(u_long csn, u_long vend_id)
struct pnp_cinfo d;
read_pnp_parms(&d, 0);
if (d.enable == 0 || d.flags & 1) {
printf("CSN %d is disabled.\n", csn);
printf("CSN %lu is disabled.\n", csn);
return (NULL);
}

View File

@ -4,7 +4,7 @@
* v1.4 by Eric S. Raymond (esr@snark.thyrsus.com) Aug 1993
* modified for FreeBSD by Andrew A. Chernov <ache@astral.msk.su>
*
* $Id: spkr.c,v 1.12 1998/02/21 15:51:51 kato Exp $
* $Id: spkr.c,v 1.13 1998/06/08 08:55:45 kato Exp $
*/
/*
@ -573,13 +573,14 @@ spkrclose(dev, flags, fmt, p)
int
spkrioctl(dev, cmd, cmdarg, flags, p)
dev_t dev;
u_long cmd;
unsigned long cmd;
caddr_t cmdarg;
int flags;
struct proc *p;
{
#ifdef DEBUG
(void) printf("spkrioctl: entering with dev = %x, cmd = %x\n");
(void) printf("spkrioctl: entering with dev = %lx, cmd = %lx\n",
(unsigned long)dev, cmd);
#endif /* DEBUG */
if (minor(dev) != 0)