Mercurial > ecos-v3_0-branch
diff packages/redboot/current/src/dump.c @ 1954:6beba10c1713
* src/net/net_io.c (net_init): Don't initialize the network if we
don't have an IP address.
* src/net/net_io.c (do_ip_addr): Add a '-b' option to obtain IP
address using BOOTP/DHCP.
* doc/redboot_cmds.sgml: Document the new '-b' option to the
'ip_address' command.
* src/alias.c (lookup_alias): Fix compiler warnings about formats
* src/cksum.c (do_cksum): Ditto
* src/dump.c (do_dump): Ditto
| author | asl |
|---|---|
| date | Thu, 21 Apr 2005 18:08:47 +0000 |
| parents | c4355f101bf6 |
| children | a6e5ade47511 |
line wrap: on
line diff
--- a/packages/redboot/current/src/dump.c +++ b/packages/redboot/current/src/dump.c @@ -121,7 +121,7 @@ do_dump(int argc, char *argv[]) while (off < len) { n = (len > 16) ? 16 : len; cksum = n+5; - diag_printf("S3%02X%08X", n+5, off+base); + diag_printf("S3%02X%08lX", n+5, off+base); for (i = 0; i < 4; i++) { cksum += (((base+off)>>(i*8)) & 0xFF); }
