From: phil Date: Mon, 13 Oct 2003 17:08:33 +0000 (+0000) Subject: "buffer overlapped" message was missing \n X-Git-Tag: v1_7_0_51~2^7~408 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=0980bd8e14fa815735a98e0c98e2e7e395f8730d;p=fs%2Flustre-release.git "buffer overlapped" message was missing \n --- diff --git a/lnet/libcfs/debug.c b/lnet/libcfs/debug.c index 018e91e..77e742f 100644 --- a/lnet/libcfs/debug.c +++ b/lnet/libcfs/debug.c @@ -778,7 +778,7 @@ portals_debug_msg(int subsys, int mask, char *file, const char *fn, ap = NULL; format = "DEBUG MARKER: Debug buffer overlapped\n"; printk(KERN_ERR "LustreError: debug daemon buffer " - "overlapped"); + "overlapped\n"); } else /* More space just became available */ debug_daemon_state.overlapped = 0; } @@ -786,7 +786,8 @@ portals_debug_msg(int subsys, int mask, char *file, const char *fn, max_nob = debug_size - debug_off + DEBUG_OVERFLOW; if (max_nob <= 0) { spin_unlock_irqrestore(&portals_debug_lock, flags); - printk("LustreError: logic error in portals_debug_msg: <0 bytes to write\n"); + printk("LustreError: logic error in portals_debug_msg: <0 bytes" + " to write\n"); return; } diff --git a/lustre/portals/libcfs/debug.c b/lustre/portals/libcfs/debug.c index 018e91e..77e742f 100644 --- a/lustre/portals/libcfs/debug.c +++ b/lustre/portals/libcfs/debug.c @@ -778,7 +778,7 @@ portals_debug_msg(int subsys, int mask, char *file, const char *fn, ap = NULL; format = "DEBUG MARKER: Debug buffer overlapped\n"; printk(KERN_ERR "LustreError: debug daemon buffer " - "overlapped"); + "overlapped\n"); } else /* More space just became available */ debug_daemon_state.overlapped = 0; } @@ -786,7 +786,8 @@ portals_debug_msg(int subsys, int mask, char *file, const char *fn, max_nob = debug_size - debug_off + DEBUG_OVERFLOW; if (max_nob <= 0) { spin_unlock_irqrestore(&portals_debug_lock, flags); - printk("LustreError: logic error in portals_debug_msg: <0 bytes to write\n"); + printk("LustreError: logic error in portals_debug_msg: <0 bytes" + " to write\n"); return; }