sio.c: fixed printf had more arguments than the format string needed (because %d was missing)

This commit is contained in:
Simon Goldschmidt 2014-04-30 22:13:44 +02:00
parent 55d09ae777
commit 3268ac82aa
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ u32_t sio_read(sio_fd_t fd, u8_t* data, u32_t len)
DWORD dwNbBytesReadden = 0;
LWIP_DEBUGF(SIO_DEBUG, ("sio_read()...\n"));
ret = ReadFile((HANDLE)(fd), data, len, &dwNbBytesReadden, NULL);
LWIP_DEBUGF(SIO_DEBUG, ("sio_read()=%lu bytes -> \n", dwNbBytesReadden, ret));
LWIP_DEBUGF(SIO_DEBUG, ("sio_read()=%lu bytes -> %d\n", dwNbBytesReadden, ret));
return dwNbBytesReadden;
}