Change log message level for FPGA_NO_DAEMON
It should not be a critical error if fpgad is not started. This change
prevents spurious error messages when running fpgadiag or similar apps
without the fpgad daemon.
@@ -133,7 +133,7 @@ static fpga_result daemon_register_event(fpga_handle handle,
}
if (connect(_handle->fdfpgad, (struct sockaddr *)&addr, sizeof(addr)) < 0) {
- FPGA_ERR("connect: %s", strerror(errno));
+ FPGA_DBG("connect: %s", strerror(errno));
result = FPGA_NO_DAEMON;
goto out_close_conn;
}
