git: 27ac4281fddd - main - mpr: add \n in diagnostic printf
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 31 Mar 2022 00:14:43 UTC
The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=27ac4281fddd81e1352cd05bb9f50ed303f12e89 commit 27ac4281fddd81e1352cd05bb9f50ed303f12e89 Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2022-03-28 17:24:06 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2022-03-31 00:14: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 --- 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; }