Fix minor omission.
This commit is contained in:
parent
cd66683989
commit
7d391c250d
|
@ -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);
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue