diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1998-10-05 17:30:59 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1998-10-05 17:30:59 +0000 |
commit | 5d6a1d0a3e1e73a7b1dea0ab17890e67a8c44a09 (patch) | |
tree | cbf8b227ae859d9944648acc1649e933b3f6a909 | |
parent | cdec180f01642be48230f560b34f2e86ab4dfae3 (diff) |
make DIOCGPDINFO equivalent to DIOCGDINFO for cd's
-rw-r--r-- | sys/dev/atapi/acd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/atapi/acd.c b/sys/dev/atapi/acd.c index 344a24fb7ab..949991cca91 100644 --- a/sys/dev/atapi/acd.c +++ b/sys/dev/atapi/acd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acd.c,v 1.33 1998/10/03 21:18:59 millert Exp $ */ +/* $OpenBSD: acd.c,v 1.34 1998/10/05 17:30:58 millert Exp $ */ /* * Copyright (c) 1996 Manuel Bouyer. All rights reserved. @@ -722,6 +722,7 @@ acdioctl(dev, cmd, addr, flag, p) switch (cmd) { case DIOCGDINFO: + case DIOCGPDINFO: *(struct disklabel *)addr = *acd->sc_dk.dk_label; return 0; |