Do not use strcopy anymore with logging cmds
This commit is contained in:
@ -220,10 +220,10 @@ char buf[1024], *home, *cnf_file = NULL;
|
|||||||
skygw_log_write(
|
skygw_log_write(
|
||||||
NULL,
|
NULL,
|
||||||
LOGFILE_ERROR,
|
LOGFILE_ERROR,
|
||||||
strdup("Unable to find a gateway configuration file, either "
|
("Unable to find a gateway configuration file, either "
|
||||||
"install one in /etc/gateway.cnf, "
|
"install one in /etc/gateway.cnf, "
|
||||||
"$GATEWAY_HOME/etc/gateway.cnf or use the -c "
|
"$GATEWAY_HOME/etc/gateway.cnf or use the -c "
|
||||||
"option.\n"));
|
"option.\n"));
|
||||||
#endif
|
#endif
|
||||||
fprintf(stderr, "Unable to find a gateway configuration file, either install one in\n");
|
fprintf(stderr, "Unable to find a gateway configuration file, either install one in\n");
|
||||||
fprintf(stderr, "/etc/gateway.cnf, $GATEWAY_HOME/etc/gateway.cnf or use the -c option.\n");
|
fprintf(stderr, "/etc/gateway.cnf, $GATEWAY_HOME/etc/gateway.cnf or use the -c option.\n");
|
||||||
|
Reference in New Issue
Block a user