From db5fc59616a0fd53cc4129c211bb9daf8fe22d29 Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Sun, 12 Feb 2012 19:03:14 +0100 Subject: [PATCH] * grub-core/loader/efi/appleloader.c (grub_cmd_appleloader): Move diagnostic to dprintf. * grub-core/loader/i386/pc/linux.c (grub_cmd_linux): Likewise. --- ChangeLog | 6 ++++++ grub-core/loader/efi/appleloader.c | 2 +- grub-core/loader/i386/pc/linux.c | 6 +++--- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 160f4431c..273db00a0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-02-12 Vladimir Serbinenko + + * grub-core/loader/efi/appleloader.c (grub_cmd_appleloader): Move + diagnostic to dprintf. + * grub-core/loader/i386/pc/linux.c (grub_cmd_linux): Likewise. + 2012-02-12 Vladimir Serbinenko * grub-core/kern/corecmd.c (grub_core_cmd_ls): Handle error in parsing diff --git a/grub-core/loader/efi/appleloader.c b/grub-core/loader/efi/appleloader.c index b734b8363..f15edeac5 100644 --- a/grub-core/loader/efi/appleloader.c +++ b/grub-core/loader/efi/appleloader.c @@ -167,7 +167,7 @@ grub_cmd_appleloader (grub_command_t cmd __attribute__ ((unused)), goto fail; } - grub_printf ("Model : %s\n", pdev->model); + grub_dprintf ("appleload", "Model: %s\n", pdev->model); loaded_image = grub_efi_get_loaded_image (image_handle); if (! loaded_image) diff --git a/grub-core/loader/i386/pc/linux.c b/grub-core/loader/i386/pc/linux.c index e820938e5..dfa6e6f30 100644 --- a/grub-core/loader/i386/pc/linux.c +++ b/grub-core/loader/i386/pc/linux.c @@ -204,9 +204,9 @@ grub_cmd_linux (grub_command_t cmd __attribute__ ((unused)), goto fail; } - grub_printf (" [Linux-%s, setup=0x%x, size=0x%x]\n", - grub_linux_is_bzimage ? "bzImage" : "zImage", real_size, - grub_linux16_prot_size); + grub_dprintf ("linux", "[Linux-%s, setup=0x%x, size=0x%x]\n", + grub_linux_is_bzimage ? "bzImage" : "zImage", real_size, + grub_linux16_prot_size); relocator = grub_relocator_new (); if (!relocator)