Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Sunxi Tools
Commits
3acd9a9d
Commit
3acd9a9d
authored
Apr 20, 2016
by
Bernhard Nortmann
Browse files
fel: Fix a possible format/conversion error in aw_write_buffer()
Signed-off-by:
Bernhard Nortmann
<
bernhard.nortmann@web.de
>
parent
7d59d75e
Changes
1
Hide whitespace changes
Inline
Side-by-side
fel.c
View file @
3acd9a9d
...
...
@@ -299,7 +299,7 @@ double aw_write_buffer(libusb_device_handle *usb, void *buf, uint32_t offset,
{
fprintf
(
stderr
,
"ERROR: Attempt to overwrite U-Boot! "
"Request 0x%08X-0x%08X overlaps 0x%08X-0x%08X.
\n
"
,
offset
,
offset
+
len
,
offset
,
(
uint32_t
)(
offset
+
len
)
,
uboot_entry
,
uboot_entry
+
uboot_size
);
exit
(
1
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment