author | Alberto Bertogli
<albertito@blitiri.com.ar> 2009-07-03 03:17:17 UTC |
committer | Alberto Bertogli
<albertito@blitiri.com.ar> 2009-07-03 03:17:17 UTC |
parent | 9724c0016e1e202e985c62abcef388a6ca57d32b |
preload/run/run.c | +5 | -2 |
diff --git a/preload/run/run.c b/preload/run/run.c index 19ec8cc..8687b32 100644 --- a/preload/run/run.c +++ b/preload/run/run.c @@ -81,8 +81,11 @@ static void __attribute__((constructor)) fiu_run_init(void) fiu_init(0); fiu_fifo_env = getenv("FIU_CTRL_FIFO"); - if (fiu_fifo_env != NULL && *fiu_fifo_env != '\0') - fiu_rc_fifo(fiu_fifo_env); + if (fiu_fifo_env != NULL && *fiu_fifo_env != '\0') { + if (fiu_rc_fifo(fiu_fifo_env) < 0) { + perror("fiu_run_preload: Error opening RC fifo"); + } + } fiu_enable_env = getenv("FIU_ENABLE"); if (fiu_enable_env == NULL)