aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2022-03-28 17:24:06 +0000
committerEd Maste <emaste@FreeBSD.org>2022-03-31 00:14:07 +0000
commit27ac4281fddd81e1352cd05bb9f50ed303f12e89 (patch)
treeca13678da0739ed457470a97e3eddc1a018d4b00
parentd53927b0bae45bf5b4b206b2dddf37bab319a1b3 (diff)
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
-rw-r--r--sys/dev/mpr/mpr_user.c4
1 files 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;
}