1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

fix invalid format string

This commit is contained in:
Steffen Vogel 2021-05-20 05:58:01 -04:00
parent 45a5226365
commit f77cbd12b9
2 changed files with 2 additions and 2 deletions

View file

@ -253,7 +253,7 @@ int socket_start(struct vnode *n)
if (setsockopt(s->sd, IPPROTO_IP, IP_TOS, &prio, sizeof(prio)))
throw SystemError("Failed to set type of service (QoS)");
else
n->logger->debug("Set QoS/TOS IP option to {#x}", node_name(n), prio);
n->logger->debug("Set QoS/TOS IP option to {:#x}", node_name(n), prio);
break;
default:

View file

@ -43,7 +43,7 @@ int pool_init(struct pool *p, size_t cnt, size_t blocksz, struct memory_type *m)
throw MemoryAllocationError();
auto logger = logging.get("pool");
logger->debug("Allocated {#x} bytes for memory pool", p->len);
logger->debug("Allocated {:#x} bytes for memory pool", p->len);
p->buffer_off = (char*) buffer - (char*) p;