It is implied for "x" and "X".
continue;
}
- dst = ngx_sprintf(dst, "%uxd", p[i] * 256 + p[i + 1]);
+ dst = ngx_sprintf(dst, "%xd", p[i] * 256 + p[i + 1]);
if (i < 14) {
*dst++ = ':';
trunc = flags & 0x0200;
ngx_log_debug6(NGX_LOG_DEBUG_CORE, r->log, 0,
- "resolver DNS response %ui fl:%04Xui %ui/%ui/%ud/%ud",
+ "resolver DNS response %ui fl:%04Xi %ui/%ui/%ud/%ud",
ident, flags, nqs, nan,
(response->nns_hi << 8) + response->nns_lo,
(response->nar_hi << 8) + response->nar_lo);
/* response to a standard query */
if ((flags & 0xf870) != 0x8000 || (trunc && tcp)) {
ngx_log_error(r->log_level, r->log, 0,
- "invalid %s DNS response %ui fl:%04Xui",
+ "invalid %s DNS response %ui fl:%04Xi",
tcp ? "TCP" : "UDP", ident, flags);
return;
}
for (i = 0; i < events; i++) {
ngx_log_debug4(NGX_LOG_DEBUG_EVENT, ev->log, 0,
- "io_event: %uXL %uXL %L %L",
+ "io_event: %XL %XL %L %L",
event[i].data, event[i].obj,
event[i].res, event[i].res2);
}
ngx_log_error(NGX_LOG_ALERT, cycle->log, 0,
- "%s process %P exited with code %Xul",
+ "%s process %P exited with code %Xl",
name, pid, code);
goto failed;
}
ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0,
- "%s process %P exited with code %Xul",
+ "%s process %P exited with code %Xl",
ngx_processes[n].name, ngx_processes[n].pid, code);
ngx_close_handle(ngx_processes[n].reopen);