mirror of
https://src.fedoraproject.org/rpms/grub2.git
synced 2024-11-28 07:44:52 +00:00
f74b50e380
Signed-off-by: Peter Jones <pjones@redhat.com>
42 lines
1.3 KiB
Diff
42 lines
1.3 KiB
Diff
From 8e042532c805c9e850eaa92c5713c461b4f4e36c Mon Sep 17 00:00:00 2001
|
|
From: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
|
|
Date: Tue, 7 May 2013 11:38:49 +0200
|
|
Subject: [PATCH 432/482] * grub-core/loader/linux.c: Use grub_dprintf
|
|
for debug statements rather than printf.
|
|
|
|
---
|
|
ChangeLog | 5 +++++
|
|
grub-core/loader/linux.c | 2 +-
|
|
2 files changed, 6 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/ChangeLog b/ChangeLog
|
|
index 04a2f00..fc647b8 100644
|
|
--- a/ChangeLog
|
|
+++ b/ChangeLog
|
|
@@ -1,5 +1,10 @@
|
|
2013-05-07 Vladimir Serbinenko <phcoder@gmail.com>
|
|
|
|
+ * grub-core/loader/linux.c: Use grub_dprintf for debug statements
|
|
+ rather than printf.
|
|
+
|
|
+2013-05-07 Vladimir Serbinenko <phcoder@gmail.com>
|
|
+
|
|
* grub-core/video/readers/jpeg.c: Use grub_dprintf for debug statements
|
|
rather than printf.
|
|
* grub-core/video/readers/tga.c: Likewise.
|
|
diff --git a/grub-core/loader/linux.c b/grub-core/loader/linux.c
|
|
index cbe3c53..af067a5 100644
|
|
--- a/grub-core/loader/linux.c
|
|
+++ b/grub-core/loader/linux.c
|
|
@@ -126,7 +126,7 @@ insert_dir (const char *name, struct dir **root,
|
|
n->name = grub_strndup (cb, ce - cb);
|
|
if (ptr)
|
|
{
|
|
- grub_printf ("Creating directory %s, %s\n", name, ce);
|
|
+ grub_dprintf ("linux", "Creating directory %s, %s\n", name, ce);
|
|
ptr = make_header (ptr, name, ce - name,
|
|
040777, 0);
|
|
}
|
|
--
|
|
1.8.2.1
|
|
|