]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - net/tftp.c
Fix printf errors.
[karo-tx-uboot.git] / net / tftp.c
index ea8fea2f7e842a43a76a91a436d76c72968a5181..84d83ca97b1e9f333efe1fa780c3803ce6cadca5 100644 (file)
@@ -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