[Bug 204944] usr/src/sys/boot/uboot/common/main.c:491: bad printf ?

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Dec 1 19:40:38 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204944

NGie Cooper <ngie at FreeBSD.org> changed:

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

--- Comment #1 from NGie Cooper <ngie at 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.


More information about the freebsd-bugs mailing list