diff mbox

hdata/memory: Add newlines to debug messages

Message ID 20170720061112.329-1-oohall@gmail.com
State Accepted
Headers show

Commit Message

Oliver O'Halloran July 20, 2017, 6:11 a.m. UTC
Missed a few.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
---
 hdata/memory.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Stewart Smith July 25, 2017, 8:20 a.m. UTC | #1
Oliver O'Halloran <oohall@gmail.com> writes:
> Missed a few.
>
> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
> ---
>  hdata/memory.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

I increasingly regret my choice of not automatically putting \n in for
prlog.

Merged to master as of 0443f602036647132f7e724a5cba6c33d6d8b98a
diff mbox

Patch

diff --git a/hdata/memory.c b/hdata/memory.c
index 30104280f75e..d6550e61f584 100644
--- a/hdata/memory.c
+++ b/hdata/memory.c
@@ -488,13 +488,13 @@  static void parse_trace_reservations(struct HDIF_common_hdr *ms_vpd)
 	 */
 
 	if (!HDIF_get_idata(ms_vpd, MSVPD_IDATA_TRACE_AREAS, &size) || !size) {
-		prlog(PR_DEBUG, "MS VPD: No trace areas found.");
+		prlog(PR_DEBUG, "MS VPD: No trace areas found\n");
 		return;
 	}
 
 	count = HDIF_get_iarray_size(ms_vpd, MSVPD_IDATA_TRACE_AREAS);
 	if (count <= 0) {
-		prlog(PR_DEBUG, "MS VPD: No trace areas found.");
+		prlog(PR_DEBUG, "MS VPD: No trace areas found\n");
 		return;
 	}