Print this page
re #13388 rb4382 fmd_api.h uses bool which is a C99/C++ keyword

*** 200,211 **** * checkpointing for this module by tweaking the mod_stats values. * The self-diagnosis world relates to fmd's running state and modules * which all change when it restarts, so don't bother w/ checkpointing. */ (void) pthread_mutex_lock(&mp->mod_stats_lock); ! mp->mod_stats->ms_ckpt_save.fmds_value.bool = FMD_B_FALSE; ! mp->mod_stats->ms_ckpt_restore.fmds_value.bool = FMD_B_FALSE; (void) pthread_mutex_unlock(&mp->mod_stats_lock); if (fmd_hdl_register(hdl, FMD_API_VERSION, &info) != 0) return; /* failed to register with fmd */ --- 200,211 ---- * checkpointing for this module by tweaking the mod_stats values. * The self-diagnosis world relates to fmd's running state and modules * which all change when it restarts, so don't bother w/ checkpointing. */ (void) pthread_mutex_lock(&mp->mod_stats_lock); ! mp->mod_stats->ms_ckpt_save.fmds_value.b = FMD_B_FALSE; ! mp->mod_stats->ms_ckpt_restore.fmds_value.b = FMD_B_FALSE; (void) pthread_mutex_unlock(&mp->mod_stats_lock); if (fmd_hdl_register(hdl, FMD_API_VERSION, &info) != 0) return; /* failed to register with fmd */