please commit
On 17:20 Sat 23 Mar , Sergey Bronnikov wrote:
> Hi
>
> I have found that several kernel messages doesn't contain newline character.
> Patches attached.
>
> --
> sergeyb@
> --- arch/i386/i386/acpi_machdep.c Sat Mar 23 16:59:09 2013
> +++ arch/i386/i386/acpi_machdep.c_ Sat Mar 23 16:58:48 2013
> @@ -325,7 +325,7 @@ acpi_sleep_cpu(struct acpi_softc *sc, int state)
> if (state == ACPI_STATE_S4) {
> uvm_pmr_zero_everything();
> if (hibernate_suspend()) {
> - printf("%s: hibernate_suspend failed\n",
> + printf("%s: hibernate_suspend failed",
> DEVNAME(sc));
> hibernate_free();
> uvm_pmr_dirty_everything();
> @@ -343,7 +343,7 @@ acpi_sleep_cpu(struct acpi_softc *sc, int state)
> boothowto &= ~RB_POWERDOWN;
>
> acpi_sleep_pm(sc, state);
> - printf("%s: acpi_sleep_pm failed\n", DEVNAME(sc));
> + printf("%s: acpi_sleep_pm failed", DEVNAME(sc));
> return (ECANCELED);
> }
> /* Resume path */
> --- arch/i386/i386/acpi_machdep.c Sat Mar 23 16:59:09 2013
> +++ arch/i386/i386/acpi_machdep.c_ Sat Mar 23 16:58:48 2013
> @@ -325,7 +325,7 @@ acpi_sleep_cpu(struct acpi_softc *sc, int state)
> if (state == ACPI_STATE_S4) {
> uvm_pmr_zero_everything();
> if (hibernate_suspend()) {
> - printf("%s: hibernate_suspend failed\n",
> + printf("%s: hibernate_suspend failed",
> DEVNAME(sc));
> hibernate_free();
> uvm_pmr_dirty_everything();
> @@ -343,7 +343,7 @@ acpi_sleep_cpu(struct acpi_softc *sc, int state)
> boothowto &= ~RB_POWERDOWN;
>
> acpi_sleep_pm(sc, state);
> - printf("%s: acpi_sleep_pm failed\n", DEVNAME(sc));
> + printf("%s: acpi_sleep_pm failed", DEVNAME(sc));
> return (ECANCELED);
> }
> /* Resume path */
--
sergeyb@