Commit f83094c0 authored by Pavan Balaji's avatar Pavan Balaji
Browse files

[svn-r4130] Throw some warnings when binding fails.

parent 1c16acb0
......@@ -142,7 +142,7 @@ typedef enum {
#if defined ENABLE_WARNINGS
#define HYDU_Warn_printf HYDU_Error_printf
#else
#define HYDU_Warn_printf(...)
#define HYDU_Warn_printf(...) {}
#endif /* ENABLE_WARNINGS */
#if !defined COMPILER_ACCEPTS_VA_ARGS
......
......@@ -18,6 +18,7 @@ HYD_Status HYDU_bind_process(int core)
if (!((plpa_api_probe(&p) == 0) && (p == PLPA_PROBE_OK))) {
/* If this failed, we just return without binding */
HYDU_Warn_printf("plpa api probe failed; not binding\n");
goto fn_exit;
}
......@@ -33,6 +34,7 @@ HYD_Status HYDU_bind_process(int core)
}
else {
/* If this failed, we just return without binding */
HYDU_Warn_printf("plpa unable to get topology information; not binding\n");
goto fn_exit;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment