Commit a62dca58 authored by Alexandre Julliard's avatar Alexandre Julliard

netapi32: Don't use sizeof in traces to avoid printf format warnings.

parent 348fd746
......@@ -135,8 +135,7 @@ BOOL NetBIOSRegisterTransport(ULONG id, NetBIOSTransport *transport)
ret = FALSE;
else if (gNumTransports >= sizeof(gTransports) / sizeof(gTransports[0]))
{
FIXME("You tried to add %d transports, but I only have space for %d\n",
gNumTransports + 1, sizeof(gTransports) / sizeof(gTransports[0]));
FIXME("Too many transports %d\n", gNumTransports + 1);
ret = FALSE;
}
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment