summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1999-05-08 21:21:50 +0000
committerdfr <dfr@FreeBSD.org>1999-05-08 21:21:50 +0000
commit4537aba47163ba3d1510f822a8297e78643614f0 (patch)
tree9443a9b35bc24c3ea9281bd54f2cee2b21d6a0ff /lib
parente3538aa94eefaf6db9a1c10eeabeb967f6e7fcb9 (diff)
downloadFreeBSD-src-4537aba47163ba3d1510f822a8297e78643614f0.zip
FreeBSD-src-4537aba47163ba3d1510f822a8297e78643614f0.tar.gz
Make libdisk see the existing partitiions on the alpha.
Diffstat (limited to 'lib')
-rw-r--r--lib/libdisk/disk.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libdisk/disk.c b/lib/libdisk/disk.c
index c2a8ddc..591c5e9 100644
--- a/lib/libdisk/disk.c
+++ b/lib/libdisk/disk.c
@@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
- * $Id: disk.c,v 1.41 1999/04/25 22:29:26 imp Exp $
+ * $Id: disk.c,v 1.42 1999/05/04 22:44:48 msmith Exp $
*
*/
@@ -241,6 +241,7 @@ Int_Open_Disk(const char *name, u_long size)
strcpy(pname,"/dev/r");
strcat(pname,name);
+ strcat(pname,"c");
j = open(pname,O_RDONLY);
if (j < 0) {
#ifdef DEBUG
OpenPOWER on IntegriCloud