summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-10-05 17:30:59 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-10-05 17:30:59 +0000
commit5d6a1d0a3e1e73a7b1dea0ab17890e67a8c44a09 (patch)
treecbf8b227ae859d9944648acc1649e933b3f6a909
parentcdec180f01642be48230f560b34f2e86ab4dfae3 (diff)
make DIOCGPDINFO equivalent to DIOCGDINFO for cd's
-rw-r--r--sys/dev/atapi/acd.c3
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;