Whamcloud - gitweb
LU-16952 debug: don't put extra new line at output 75/51675/3
authorAlexey Lyashkov <alexey.lyashkov@hpe.com>
Wed, 12 Jul 2023 14:35:16 +0000 (17:35 +0300)
committerOleg Drokin <green@whamcloud.com>
Wed, 25 Oct 2023 18:03:01 +0000 (18:03 +0000)
n already in output line.

HPe-bug-id: LUS-11707
Test-Parameters: trivial
Signed-off-by: Alexey Lyashkov <alexey.lyashkov@hpe.com>
Change-Id: I30667b5fe269aa8b80d5b2101d397f34b75f8e30
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51675
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Petros Koutoupis <petros.koutoupis@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/obdclass/lu_object.c

index dd6a831..e413f30 100644 (file)
@@ -582,7 +582,7 @@ int lu_cdebug_printer(const struct lu_env *env,
                   ARRAY_SIZE(key->lck_area) - used, format, args);
         if (complete) {
                if (cfs_cdebug_show(msgdata->msg_mask, msgdata->msg_subsys))
-                       libcfs_debug_msg(msgdata, "%s\n", key->lck_area);
+                       libcfs_debug_msg(msgdata, "%s", key->lck_area);
                 key->lck_area[0] = 0;
         }
         va_end(args);