Remove compiler warnings (writ_ifs.c ipcsockets.c).

This commit is contained in:
Brian Taylor 2022-01-09 16:52:38 -08:00 committed by Holger Vogt
parent 1558c5abcb
commit 08bc3ccdd6
2 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,7 @@ int write_ifs_c_file(
/* Open the ifspec.c file for write access */
if ((filename = gen_filename(filename_in, "w")) == (char *) NULL) {
print_error("ERROR - Unable to build path to \"%s\".", filename);
print_error("ERROR - Unable to build path to \"%s\".", filename_in);
xrc = -1;
goto EXITPOINT;
}

View File

@ -166,7 +166,7 @@ ipc_transport_initialize_server (
/* with version 1 (mailboxes) functions of the same names. */
{
struct sockaddr_in server; /* Server specifications for socket*/
int server_length; /* Size of server structure */
socklen_t server_length; /* Size of server structure */
int port_num; /* Port number converted from server_name */
NG_IGNORE(mode);