From 855697b12256d723d8561770816c0596d4078290 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 27 Mar 2006 16:36:53 +0000 Subject: [PATCH] This should fix the PPC build. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16894 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/boot/platform/openfirmware/devices.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/system/boot/platform/openfirmware/devices.cpp b/src/system/boot/platform/openfirmware/devices.cpp index 5f32598dde..df08de6575 100644 --- a/src/system/boot/platform/openfirmware/devices.cpp +++ b/src/system/boot/platform/openfirmware/devices.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2003-2005, Axel Dörfler, axeld@pinc-software.de. All rights reserved. + * Copyright 2003-2006, Axel Dörfler, axeld@pinc-software.de. All rights reserved. * Distributed under the terms of the MIT License. */ @@ -23,7 +23,7 @@ char sBootPath[192]; status_t -platform_get_boot_device(struct stage2_args *args, Node **_device) +platform_add_boot_device(struct stage2_args *args, NodeList *devicesList) { // print out the boot path (to be removed later?) @@ -80,7 +80,7 @@ platform_get_boot_device(struct stage2_args *args, Node **_device) if (device == NULL) return B_NO_MEMORY; - *_device = device; + devicesList->Add(device); return B_OK; }