Fix invalid/missing/extra argument to logit(), found by Coverity

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson 2019-11-07 19:24:38 +01:00
parent bafdb29743
commit 7533f96ca9

View File

@ -2306,9 +2306,9 @@ void init(void)
funix[i] = create_unix_socket(funixn[i]);
if (funix[i] == -1)
logit(" failed, error %d: %s\n", strerror(errno));
logit(" failed opening, error %d: %s\n", errno, strerror(errno));
else
logit(" opened successfully\n", funixn[i]);
logit(" opened successfully\n");
}
if (cffwd() || AcceptRemote) {