diff options
author | Stew Benedict <stewb@mandriva.org> | 2001-03-19 16:15:41 +0000 |
---|---|---|
committer | Stew Benedict <stewb@mandriva.org> | 2001-03-19 16:15:41 +0000 |
commit | 646a8ff8dcb400e0548edf90654ef28d34f07a9c (patch) | |
tree | 42212ba1dea19f898f91a1629e286d89c6ada6d6 /mdk-stage1 | |
parent | 2ca86a25e8cd37f5a3b3c738bdc9278717eed472 (diff) | |
download | drakx-646a8ff8dcb400e0548edf90654ef28d34f07a9c.tar drakx-646a8ff8dcb400e0548edf90654ef28d34f07a9c.tar.gz drakx-646a8ff8dcb400e0548edf90654ef28d34f07a9c.tar.bz2 drakx-646a8ff8dcb400e0548edf90654ef28d34f07a9c.tar.xz drakx-646a8ff8dcb400e0548edf90654ef28d34f07a9c.zip |
stage1.c: fix for rescue image PPC
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 */ |