From 90769a82726401035f7a9ba3dec1538632eda436 Mon Sep 17 00:00:00 2001 From: Bob Glossman Date: Tue, 3 May 2016 18:27:04 -0700 Subject: [PATCH] LU-8094 ldlm: restore missing newlines Recent commit f28cc2 landed for LU-7521 removed too many newlines in debug messages, leading to lots of noise in syslog. This mod puts some back in. Signed-off-by: Bob Glossman Change-Id: I4d3eb59a5db3ed548b03aa29ec036b4b2f899a86 Reviewed-on: http://review.whamcloud.com/19960 Reviewed-by: Andreas Dilger Tested-by: Jenkins Reviewed-by: Alex Zhuravlev Tested-by: Maloo Reviewed-by: John L. Hammond Reviewed-by: Oleg Drokin --- lustre/include/lu_object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/include/lu_object.h b/lustre/include/lu_object.h index 3a84844..bdac868 100644 --- a/lustre/include/lu_object.h +++ b/lustre/include/lu_object.h @@ -802,7 +802,7 @@ do { \ if (cfs_cdebug_show(mask, DEBUG_SUBSYSTEM)) { \ LIBCFS_DEBUG_MSG_DATA_DECL(msgdata, mask, NULL); \ lu_object_print(env, &msgdata, lu_cdebug_printer, object);\ - CDEBUG(mask, format , ## __VA_ARGS__); \ + CDEBUG(mask, format "\n", ## __VA_ARGS__); \ } \ } while (0) -- 1.8.3.1