From acc3ef65b598eec15c0a54b541cf16ca3006397b Mon Sep 17 00:00:00 2001 From: ericm Date: Thu, 28 Sep 2006 04:07:47 +0000 Subject: [PATCH] branch: b_new_cmd temporarily split ldlm debug message into 2 lines to avoid excessive "doesn't end in newline" warnings. --- lustre/include/lustre_dlm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/include/lustre_dlm.h b/lustre/include/lustre_dlm.h index b5625c1..bbfd4d5 100644 --- a/lustre/include/lustre_dlm.h +++ b/lustre/include/lustre_dlm.h @@ -376,13 +376,13 @@ void ldlm_lock_debug(cfs_debug_limit_state_t *cdls, char *fmt, ...); #define LDLM_DEBUG(lock, fmt, a...) ldlm_lock_debug(NULL, D_DLMTRACE, lock, \ - __FILE__, __func__, __LINE__, "### " fmt, ## a) + __FILE__, __func__, __LINE__, "### " fmt "\n", ## a) #define LDLM_ERROR(lock, fmt, a...) \ do { \ static cfs_debug_limit_state_t cdls; \ ldlm_lock_debug(&cdls, D_ERROR, lock, \ - __FILE__, __func__, __LINE__, "### " fmt, ## a); \ + __FILE__, __func__, __LINE__, "### " fmt "\n", ## a); \ } while (0) #define LDLM_DEBUG_NOLOCK(format, a...) \ -- 1.8.3.1