git: 5de017411c3d - stable/13 - mpr: add \n in diagnostic printf

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Mon, 11 Apr 2022 02:45:25 UTC
The branch stable/13 has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=5de017411c3dbbc50d5dedbc6901db4e5bf7be3f

commit 5de017411c3dbbc50d5dedbc6901db4e5bf7be3f
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2022-03-28 17:24:06 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2022-04-11 02:45:07 +0000

    mpr: add \n in diagnostic printf
    
    Diff reduction between mpr and mps.
    
    Fixes:          e2997a03b7f7 ("Diagnostic buffer fixes for the mps(4)...")
    MFC after:      3 days
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit 27ac4281fddd81e1352cd05bb9f50ed303f12e89)
---
 sys/dev/mpr/mpr_user.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/dev/mpr/mpr_user.c b/sys/dev/mpr/mpr_user.c
index 08c2b8b39244..d04aaa24ea0b 100644
--- a/sys/dev/mpr/mpr_user.c
+++ b/sys/dev/mpr/mpr_user.c
@@ -1311,7 +1311,7 @@ mpr_post_fw_diag_buffer(struct mpr_softc *sc,
 	reply = (MPI2_DIAG_BUFFER_POST_REPLY *)cm->cm_reply;
 	if (reply == NULL) {
 		mpr_printf(sc, "%s: reply is NULL, probably due to "
-		    "reinitialization", __func__);
+		    "reinitialization\n", __func__);
 		status = MPR_DIAG_FAILURE;
 		goto done;
 	}
@@ -1405,7 +1405,7 @@ mpr_release_fw_diag_buffer(struct mpr_softc *sc,
 	reply = (MPI2_DIAG_RELEASE_REPLY *)cm->cm_reply;
 	if (reply == NULL) {
 		mpr_printf(sc, "%s: reply is NULL, probably due to "
-		    "reinitialization", __func__);
+		    "reinitialization\n", __func__);
 		status = MPR_DIAG_FAILURE;
 		goto done;
 	}