[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Linux-cluster] [PATCH] trivial debug print fix for fence/agents/xvm/



Hello,

Here is a trivial patch to add missing line breaks in some debug print
lines for fence_xvm*.

- satoru


 fence/agents/xvm/simple_auth.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fence/agents/xvm/simple_auth.c b/fence/agents/xvm/simple_auth.c
index 07bc261..a1f04f4 100644
--- a/fence/agents/xvm/simple_auth.c
+++ b/fence/agents/xvm/simple_auth.c
@@ -381,7 +381,7 @@ read_key_file(char *file, char *key, size_t max_len)
 		}
 
 		if (nread == 0) {
-			dbg_printf(3, "Stopped reading @ %d bytes",
+			dbg_printf(3, "Stopped reading @ %d bytes\n",
 				(int)max_len-remain);
 			break;
 		}
@@ -391,7 +391,7 @@ read_key_file(char *file, char *key, size_t max_len)
 	}
 
 	close(fd);	
-	dbg_printf(3, "Actual key length = %d bytes", (int)max_len-remain);
+	dbg_printf(3, "Actual key length = %d bytes\n", (int)max_len-remain);
 	
 	return (int)(max_len - remain);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]