Mercurial > ecos-v3_0-branch
changeset 1924:3c298b795d0b
* src/tftp_server.c (tftpd_server): Fixed compiler warning about
type of argument to printf.
| author | asl |
|---|---|
| date | Sun, 27 Mar 2005 17:23:18 +0000 |
| parents | 84f7fdb14fae |
| children | 442ee3074818 |
| files | packages/net/common/current/ChangeLog packages/net/common/current/src/tftp_server.c |
| diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/net/common/current/ChangeLog +++ b/packages/net/common/current/ChangeLog @@ -1,3 +1,8 @@ +2005-03-27 Andrew Lunn <andrew.lunn@ascom.ch> + + * src/tftp_server.c (tftpd_server): Fixed compiler warning about + type of argument to printf. + 2004-10-04 Andrew Lunn <andrew.lunn@ascom.ch> * include/tftp_support.h: Use the definitions of O_RDONLY and
--- a/packages/net/common/current/src/tftp_server.c +++ b/packages/net/common/current/src/tftp_server.c @@ -564,7 +564,7 @@ tftpd_server(cyg_addrword_t p) error = getaddrinfo(NULL,"tftp",&hints, &server->res); if (0 != error) { - diag_printf("TFTPD [%p] : can't get a local server address to bind to: %s\n", + diag_printf("TFTPD [%d] : can't get a local server address to bind to: %s\n", p, gai_strerror(error)); return; }
