Whamcloud - gitweb
LU-9859 libcfs: remove Lustre specific bitmap handling
[fs/lustre-release.git] / snmp / lustre-snmp.c
index 93d63e6..bf3afb4 100644 (file)
@@ -712,7 +712,7 @@ void deinit_lustresnmp(void) {
        /* deregister ourselves with the agent */
        unregister_mib(clusterFileSystems_variables_oid,
                       sizeof(clusterFileSystems_variables_oid)/
-                      sizeof(clusterFileSystems_variables_oid));
+                      sizeof(clusterFileSystems_variables_oid[0]));
 
        terminate_trap_handler();