summaryrefslogtreecommitdiffstats
path: root/lib/libdisk/disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libdisk/disk.c')
-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