bankd_main: don't use fprintf if we can use osmocom logging API

Change-Id: I0b6ed933ffb3e3d689b344bd215357577e3120aa
changes/97/13497/1
Harald Welte 4 years ago
parent e1d3289ed9
commit eb971b5209
  1. 3
      src/bankd_main.c

@ -199,7 +199,8 @@ static int bankd_srvc_handle_rx(struct rspro_server_conn *srvc, const RsproPDU_t
server_conn_send_rspro(srvc, resp);
break;
default:
fprintf(stderr, "Unknown/Unsupported RSPRO PDU type: %u\n", pdu->msg.present);
LOGPFSML(srvc->fi, LOGL_ERROR, "Unknown/Unsupported RSPRO PDU type: %u\n",
pdu->msg.present);
return -1;
}

Loading…
Cancel
Save