From 67ec5a0556542fa89191fb3900d7041442541f9c Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Fri, 26 Aug 2011 23:38:06 +0000 Subject: [PATCH] While doing cleanup remove pending warnings. This commit was SVN r25095. --- orte/mca/errmgr/orted/errmgr_orted.c | 4 ++-- orte/mca/notifier/syslog/notifier_syslog_module.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/orte/mca/errmgr/orted/errmgr_orted.c b/orte/mca/errmgr/orted/errmgr_orted.c index a69187f5a5..90d4c83df2 100644 --- a/orte/mca/errmgr/orted/errmgr_orted.c +++ b/orte/mca/errmgr/orted/errmgr_orted.c @@ -307,8 +307,8 @@ static int update_state(orte_jobid_t job, OPAL_OUTPUT_VERBOSE((5, orte_errmgr_base.output, "%s errmgr:orted not exiting, num_routes() == %d, num children == %d", ORTE_NAME_PRINT(ORTE_PROC_MY_NAME), - orte_routed.num_routes(), - opal_list_get_size(&orte_local_children))); + (int)orte_routed.num_routes(), + (int)opal_list_get_size(&orte_local_children))); } } diff --git a/orte/mca/notifier/syslog/notifier_syslog_module.c b/orte/mca/notifier/syslog/notifier_syslog_module.c index 981503d287..eed98b1def 100644 --- a/orte/mca/notifier/syslog/notifier_syslog_module.c +++ b/orte/mca/notifier/syslog/notifier_syslog_module.c @@ -103,7 +103,7 @@ static void myhelplog(orte_notifier_base_severity_t severity, int errcode, } /* go ahead and output it */ - syslog(severity, output); + syslog(severity, output, NULL); free(output); } @@ -114,7 +114,7 @@ static void mypeerlog(orte_notifier_base_severity_t severity, int errcode, char *buf = orte_notifier_base_peer_log(errcode, peer_proc, msg, ap); if (NULL != buf) { - syslog(severity, buf); + syslog(severity, buf, NULL); free(buf); } } @@ -122,6 +122,6 @@ static void mypeerlog(orte_notifier_base_severity_t severity, int errcode, static void myeventlog(const char *msg) { /* If there was a message, output it */ - syslog(LOG_LOCAL0 | LOG_NOTICE, msg); + syslog(LOG_LOCAL0 | LOG_NOTICE, msg, NULL); }