Make libdisk see the existing partitiions on the alpha.
This commit is contained in:
parent
e3538aa94e
commit
4537aba471
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user