diff options
Diffstat (limited to 'mdk-stage1')
-rw-r--r-- | mdk-stage1/stage1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/stage1.c b/mdk-stage1/stage1.c index 8956a2a7f..2faa35256 100644 --- a/mdk-stage1/stage1.c +++ b/mdk-stage1/stage1.c @@ -364,7 +364,7 @@ int main(int argc, char **argv, char **env) if (IS_RESCUE) { int fd = open("/proc/sys/kernel/real-root-dev", O_RDWR); -#ifdef __sparc__ +#if defined(__powerpc__) || defined (__sparc__) write(fd, "0x1030000", sizeof("0x1030000")); /* ram3 or sparc */ #else write(fd, "0x103", sizeof("0x103")); /* ram3 */ |