corrected some message formats

This commit is contained in:
Gerhard Rieger 2012-11-17 17:15:56 +01:00
parent 09eac84915
commit 589080e693
3 changed files with 3 additions and 3 deletions

View file

@ -67,7 +67,7 @@ static int iffan(FILE *outfile) {
strcpy(ifr.ifr_name, ifp->ifr_name); strcpy(ifr.ifr_name, ifp->ifr_name);
if (Ioctl(s, SIOCGIFINDEX, &ifr) < 0) { if (Ioctl(s, SIOCGIFINDEX, &ifr) < 0) {
Error3("ioctl(%d, SIOCGIFINDEX, {\"%s\"}): %s", Error3("ioctl(%d, SIOCGIFINDEX, {\"%s\"}): %s",
s, &ifr.ifr_name, strerror(errno)); s, ifr.ifr_name, strerror(errno));
return 1; return 1;
} }
#if HAVE_STRUCT_IFREQ_IFR_INDEX #if HAVE_STRUCT_IFREQ_IFR_INDEX

View file

@ -982,7 +982,7 @@ int
} else { } else {
if (SSL_CTX_set_tmp_dh(*ctx, dh) <= 0) { if (SSL_CTX_set_tmp_dh(*ctx, dh) <= 0) {
while (err = ERR_get_error()) { while (err = ERR_get_error()) {
Warn1("SSL_CTX_set_tmp_dh(%p, %p): %s", Warn3("SSL_CTX_set_tmp_dh(%p, %p): %s", *ctx, dh,
ERR_error_string(err, NULL)); ERR_error_string(err, NULL));
} }
Error2("SSL_CTX_set_tmp_dh(%p, %p) failed", *ctx, dh); Error2("SSL_CTX_set_tmp_dh(%p, %p) failed", *ctx, dh);

View file

@ -415,7 +415,7 @@ int _xioopen_proxy_connect(struct single *xfd,
Info("sending \"\\r\\n\""); Info("sending \"\\r\\n\"");
if (writefull(xfd->wfd, "\r\n", 2) < 0) { if (writefull(xfd->wfd, "\r\n", 2) < 0) {
Msg2(level, "write(%d, %p, "F_Zu"): %s", Msg2(level, "write(%d, \"\\r\\n\", 2): %s",
xfd->wfd, strerror(errno)); xfd->wfd, strerror(errno));
if (Close(xfd->wfd) < 0) { if (Close(xfd->wfd) < 0) {
Info2("close(%d): %s", xfd->wfd, strerror(errno)); Info2("close(%d): %s", xfd->wfd, strerror(errno));