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

This commit is contained in:
Alexandre Julliard 2006-06-13 14:11:04 +02:00
parent 348fd746d9
commit a62dca5874
1 changed files with 1 additions and 2 deletions

View File

@ -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