Fix minor omission.

This commit is contained in:
mycroft 1994-10-20 14:10:18 +00:00
parent cd66683989
commit 7d391c250d
2 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: cd.c,v 1.37 1994/10/20 14:09:10 mycroft Exp $ */ /* $NetBSD: cd.c,v 1.38 1994/10/20 14:10:18 mycroft Exp $ */
/* /*
* Copyright (c) 1994 Charles Hannum. All rights reserved. * Copyright (c) 1994 Charles Hannum. All rights reserved.
@ -292,8 +292,9 @@ bad:
* occurence of an open device * occurence of an open device
*/ */
int int
cdclose(dev) cdclose(dev, flag, fmt)
dev_t dev; dev_t dev;
int flag, fmt;
{ {
struct cd_data *cd = cdcd.cd_devs[CDUNIT(dev)]; struct cd_data *cd = cdcd.cd_devs[CDUNIT(dev)];
int part = CDPART(dev); int part = CDPART(dev);

View File

@ -1,4 +1,4 @@
/* $NetBSD: cd.c,v 1.37 1994/10/20 14:09:10 mycroft Exp $ */ /* $NetBSD: cd.c,v 1.38 1994/10/20 14:10:18 mycroft Exp $ */
/* /*
* Copyright (c) 1994 Charles Hannum. All rights reserved. * Copyright (c) 1994 Charles Hannum. All rights reserved.
@ -292,8 +292,9 @@ bad:
* occurence of an open device * occurence of an open device
*/ */
int int
cdclose(dev) cdclose(dev, flag, fmt)
dev_t dev; dev_t dev;
int flag, fmt;
{ {
struct cd_data *cd = cdcd.cd_devs[CDUNIT(dev)]; struct cd_data *cd = cdcd.cd_devs[CDUNIT(dev)];
int part = CDPART(dev); int part = CDPART(dev);