When debugging using the "all" condition frequently gives way too much info. So selecting a subset of conditions is desirable. This change makes it easier to identify which conditions are desired. Before this change log messages needed to be looked up in the source code to find the condition used.
Signed-off-by: Glenn Washburn <developm...@efficientek.com> --- grub-core/kern/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grub-core/kern/misc.c b/grub-core/kern/misc.c index 3af336ee2..11b8592c8 100644 --- a/grub-core/kern/misc.c +++ b/grub-core/kern/misc.c @@ -182,7 +182,7 @@ grub_real_dprintf (const char *file, const int line, const char *condition, if (grub_debug_enabled (condition)) { - grub_printf ("%s:%d: ", file, line); + grub_printf ("%s:%d:%s: ", file, line, condition); va_start (args, fmt); grub_vprintf (fmt, args); va_end (args); -- 2.27.0 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel