Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Dec 2015 19:40:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 204944] usr/src/sys/boot/uboot/common/main.c:491: bad printf ?
Message-ID:  <bug-204944-8-8MrSQpWDE7@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-204944-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-204944-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204944

NGie Cooper <ngie@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ian@FreeBSD.org,
                   |                            |ngie@FreeBSD.org

--- Comment #1 from NGie Cooper <ngie@FreeBSD.org> ---
Yeah, the "% " looks incorrect... Was the % intentional, i.e. should it be
deleted, or escaped, i.e. %%?

$ svn diff sys/boot/uboot/common/main.c 
Index: sys/boot/uboot/common/main.c
===================================================================
--- sys/boot/uboot/common/main.c        (revision 291608)
+++ sys/boot/uboot/common/main.c        (working copy)
@@ -488,7 +488,7 @@
        ldev = uboot_fmtdev(&currdev);
        env_setenv("currdev", EV_VOLATILE, ldev, uboot_setcurrdev,
env_nounset);
        env_setenv("loaddev", EV_VOLATILE, ldev, env_noset, env_nounset);
-       printf("Booting from %s %\n", ldev);
+       printf("Booting from %s\n", ldev);

        setenv("LINES", "24", 1);               /* optional */
        setenv("prompt", "loader>", 1);

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204944-8-8MrSQpWDE7>