mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-upf.git
synced 2025-10-23 08:12:03 +00:00
osmo-pfcp-tool: Fix call to strerror
Fixes: Coverity scan CID#307499 Change-Id: I91a4116e7cf3721771cea3af82328cf02f1cfc14
This commit is contained in:
@@ -99,7 +99,7 @@ DEFUN(c_listen, c_listen_cmd,
|
||||
if (rc) {
|
||||
vty_out(vty, "Failed to bind PFCP endpoint on %s: %s%s\n",
|
||||
osmo_sockaddr_to_str_c(OTC_SELECT, osmo_pfcp_endpoint_get_local_addr(g_pfcp_tool->ep)),
|
||||
strerror(rc), VTY_NEWLINE);
|
||||
strerror(-rc), VTY_NEWLINE);
|
||||
return CMD_WARNING;
|
||||
}
|
||||
return CMD_SUCCESS;
|
||||
|
Reference in New Issue
Block a user