]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - net/nfs.c
net: Make sure IPaddr_t is 32 bits in size
[karo-tx-uboot.git] / net / nfs.c
index 5e717e3c6d63221569ce94210afd5197dcd041db..b5b482c3f3cefce41f22e8e596194f4e21b469a3 100644 (file)
--- a/net/nfs.c
+++ b/net/nfs.c
@@ -688,7 +688,7 @@ NfsStart (void)
        }
 
        if (BootFile[0] == '\0') {
-               sprintf (default_filename, "/nfsroot/%02lX%02lX%02lX%02lX.img",
+               sprintf(default_filename, "/nfsroot/%02X%02X%02X%02X.img",
                        NetOurIP & 0xFF,
                        (NetOurIP >>  8) & 0xFF,
                        (NetOurIP >> 16) & 0xFF,