diff options
author | Stefan Roese <sr@denx.de> | 2008-07-10 09:09:45 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2008-07-10 09:09:45 +0200 |
commit | ac5ba41c2234dd513ed2c879914e964cc05a0135 (patch) | |
tree | eea25003c17267efc504264bc1faa419a355a138 /net/tftp.c | |
parent | 7c6237b3e2f2ee0098897da39b79aff4642b8946 (diff) | |
parent | 4188f0491886b3b486164e819c0a83fdb97efd7d (diff) |
Merge branch 'master' of /home/stefan/git/u-boot/u-boot
Diffstat (limited to 'net/tftp.c')
-rw-r--r-- | net/tftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tftp.c b/net/tftp.c index ea8fea2f7e..84d83ca97b 100644 --- a/net/tftp.c +++ b/net/tftp.c @@ -178,7 +178,7 @@ TftpSend (void) pkt += 5 /*strlen("octet")*/ + 1; strcpy ((char *)pkt, "timeout"); pkt += 7 /*strlen("timeout")*/ + 1; - sprintf((char *)pkt, "%d", TIMEOUT); + sprintf((char *)pkt, "%lu", TIMEOUT); #ifdef ET_DEBUG printf("send option \"timeout %s\"\n", (char *)pkt); #endif |