Skip to content
Commit 8f911a7b authored by Siddharth Vadapalli's avatar Siddharth Vadapalli Committed by Tom Rini
Browse files

net: Fix the displayed value of bytes transferred



In the case of NETLOOP_SUCCESS, the decimal value of the u32 variable
"net_boot_file_size" is printed using "%d", resulting in negative values
being reported for large file sizes. Fix this by using "%u" to print the
decimal value corresponding to the bytes transferred.

Fixes: 1411157d ("net: cosmetic: Fixup var names related to boot file")
Signed-off-by: default avatarSiddharth Vadapalli <s-vadapalli@ti.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
parent 4f543e82
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment