summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrishnan Parthasarathi <kp@gluster.com>2011-09-23 11:49:29 +0530
committerVijay Bellur <vijay@gluster.com>2011-09-23 01:19:38 -0700
commit2b21ea3c625fab19e88c21f4c104dca321eef262 (patch)
treeafc74ccaa9a1c6ed412aace2f9403933aa4bfdf5
parent4765dd1a1c51c67ab86687fbd871c89156680c34 (diff)
libglusterfs: Adding missing event strings for events.
Change-Id: Idf55abfa77712d32b27798fedcfddb65599b562b Reviewed-on: http://review.gluster.com/493 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
-rw-r--r--libglusterfs/src/globals.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/libglusterfs/src/globals.c b/libglusterfs/src/globals.c
index 473a4604e1f..57946f70480 100644
--- a/libglusterfs/src/globals.c
+++ b/libglusterfs/src/globals.c
@@ -336,7 +336,7 @@ out:
}
-char eventstring[GF_EVENT_MAXVAL][64] = {
+char eventstring[GF_EVENT_MAXVAL+1][64] = {
"Invalid event",
"Parent Up",
"Poll In",
@@ -345,10 +345,14 @@ char eventstring[GF_EVENT_MAXVAL][64] = {
"Child Up",
"Child Down",
"Child Connecting",
+ "Child Modified",
"Transport Cleanup",
"Transport Connected",
"Volfile Modified",
- "Volume Heal Triggered",
+ "New Volfile",
+ "Translator Info",
+ "Trigger Volume Heal",
+ "Invalid event",
};
/* Copy the string ptr contents if needed for yourself */