mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-cbc.git
synced 2025-10-23 08:22:19 +00:00
main: remove newline char in perror() call
perror() appends ":" immediatelly afterwards in order to append the error string, so having a newline breaks the format. Change-Id: I14874c2c86495c83030fa40c7060706e9dfe1968
This commit is contained in:
@@ -241,18 +241,18 @@ int main(int argc, char **argv)
|
||||
|
||||
rc = telnet_init_dynif(tall_cbc_ctx, NULL, vty_get_bind_addr(), OSMO_VTY_PORT_CBC);
|
||||
if (rc < 0) {
|
||||
perror("Error binding VTY port\n");
|
||||
perror("Error binding VTY port");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (cbsp_cbc_create(tall_cbc_ctx) == NULL) {
|
||||
perror("Error binding CBSP port\n");
|
||||
perror("Error binding CBSP port");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
rc = rest_api_init(tall_rest_ctx, g_cbc->config.ecbe.local_host, g_cbc->config.ecbe.local_port);
|
||||
if (rc < 0) {
|
||||
perror("Error binding ECBE port\n");
|
||||
perror("Error binding ECBE port");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user