commit | 2f916943c9b85d628c67c8ac98e604f2bcbc21e4 | [log] [tgz] |
---|---|---|
author | wdenk <wdenk> | Fri Feb 04 21:33:05 2005 +0000 |
committer | wdenk <wdenk> | Fri Feb 04 21:33:05 2005 +0000 |
tree | d61a477a82df2d093a137c87779d581b5a1aa4ef | |
parent | f8883cb101061c85c49cc1a3e68b890eab8ab118 [diff] [blame] |
Fix for incomplete byteorder fix in cmd_scsi.c and cmd_usb.c
diff --git a/common/cmd_scsi.c b/common/cmd_scsi.c index 61309f9..68e46b6 100644 --- a/common/cmd_scsi.c +++ b/common/cmd_scsi.c
@@ -281,6 +281,7 @@ puts ("\n** Bad Header Checksum **\n"); return 1; } + hdr->ih_hcrc = htonl(checksum); /* restore checksum for later use */ print_image_hdr (hdr); cnt = (ntohl(hdr->ih_size) + sizeof(image_header_t));