Print this page
re #13388 rb4382 fmd_api.h uses bool which is a C99/C++ keyword
        
@@ -775,11 +775,11 @@
 
         /*
          * If checkpointing is disabled for the module, just return.  We must
          * commit the module state anyway to transition pending log events.
          */
-        if (mp->mod_stats->ms_ckpt_save.fmds_value.bool == FMD_B_FALSE) {
+        if (mp->mod_stats->ms_ckpt_save.fmds_value.b == FMD_B_FALSE) {
                 fmd_module_commit(mp);
                 return;
         }
 
         if (!(mp->mod_flags & (FMD_MOD_MDIRTY | FMD_MOD_CDIRTY)))
@@ -1152,11 +1152,11 @@
 void
 fmd_ckpt_restore(fmd_module_t *mp)
 {
         fmd_ckpt_t ckp;
 
-        if (mp->mod_stats->ms_ckpt_restore.fmds_value.bool == FMD_B_FALSE)
+        if (mp->mod_stats->ms_ckpt_restore.fmds_value.b == FMD_B_FALSE)
                 return; /* never restore checkpoints for this module */
 
         TRACE((FMD_DBG_CKPT, "ckpt restore begin %s", mp->mod_name));
 
         if (fmd_ckpt_open(&ckp, mp) == -1) {