diff --git a/src/kernel/boot/loader/loader.cpp b/src/kernel/boot/loader/loader.cpp index 5c38ece913..2475f19c0d 100644 --- a/src/kernel/boot/loader/loader.cpp +++ b/src/kernel/boot/loader/loader.cpp @@ -1,6 +1,6 @@ /* ** Copyright 2003-2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved. -** Distributed under the terms of the OpenBeOS License. +** Distributed under the terms of the Haiku License. */ @@ -62,18 +62,17 @@ load_kernel(stage2_args *args, Directory *volume) if (fd < B_OK) return fd; - puts("load kernel..."); + dprintf("load kernel...\n"); status_t status = elf_load_image(fd, &gKernelArgs.kernel_image); close(fd); if (status < B_OK) { - printf("loading kernel failed: %ld!\n", status); + dprintf("loading kernel failed: %ld!\n", status); return status; } - puts("kernel loaded successfully"); return B_OK; } diff --git a/src/kernel/boot/loader/main.cpp b/src/kernel/boot/loader/main.cpp index f624535458..3c4356c609 100644 --- a/src/kernel/boot/loader/main.cpp +++ b/src/kernel/boot/loader/main.cpp @@ -18,7 +18,7 @@ //#define TRACE_MAIN #ifdef TRACE_MAIN -# define TRACE(x) printf x +# define TRACE(x) dprintf x #else # define TRACE(x) ; #endif @@ -44,7 +44,7 @@ main(stage2_args *args) if (vfs_init(args) < B_OK) panic("Could not initialize VFS!\n"); - puts("Welcome to the Haiku boot loader!"); + dprintf("Welcome to the Haiku boot loader!\n"); bool mountedAllVolumes = false;