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

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

 



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);
 }

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux