Whamcloud - gitweb
LU-5710 all: third batch of corrected typos and grammar errors
[fs/lustre-release.git] / snmp / lustre-snmp.c
index 41070e0..2c1bcf3 100644 (file)
@@ -187,13 +187,14 @@ struct variable7 clusterFileSystems_variables[] = {
  
 void init_lustresnmp(void) {
 
-  /* register ourselves with the agent to handle our mib tree */
-  REGISTER_MIB("clusterFileSystems", clusterFileSystems_variables, variable7,
-               clusterFileSystems_variables_oid);
-               
-   initilize_trap_handler();
+       /* register ourselves with the agent to handle our mib tree */
+       REGISTER_MIB("clusterFileSystems",
+                    clusterFileSystems_variables, variable7,
+                    clusterFileSystems_variables_oid);
 
-  DEBUGMSGTL(("lsnmpd", "%s %s \n", __FUNCTION__, "Initialization Done"));
+       initialize_trap_handler();
+
+       DEBUGMSGTL(("lsnmpd", "%s %s\n", __func__, "Initialization Done"));
 }
 
 /*****************************************************************************
@@ -209,13 +210,14 @@ void init_lustresnmp(void) {
 
 void deinit_lustresnmp(void) {
 
-  /* deregister ourselves with the agent */
-  unregister_mib(clusterFileSystems_variables_oid,
-    sizeof(clusterFileSystems_variables_oid)/sizeof(clusterFileSystems_variables_oid));
-  
-  terminate_trap_handler();
-  
-  DEBUGMSGTL(("lsnmpd", "%s %s \n", __FUNCTION__, "Termination Done"));
+       /* deregister ourselves with the agent */
+       unregister_mib(clusterFileSystems_variables_oid,
+                      sizeof(clusterFileSystems_variables_oid)/
+                      sizeof(clusterFileSystems_variables_oid));
+
+       terminate_trap_handler();
+
+       DEBUGMSGTL(("lsnmpd", "%s %s\n", __func__, "Termination Done"));
 }
 
 /*****************************************************************************