Skip to content
Snippets Groups Projects
Commit b922b133 authored by Adam Wujek's avatar Adam Wujek
Browse files

userspace/tools/wrs_sfp_dump: fix printout of size_t


fix warning for WRSv4

Signed-off-by: default avatarAdam Wujek <dev_public@wujek.eu>
parent ab127ba8
Branches
Tags
No related merge requests found
......@@ -185,7 +185,7 @@ static void sfp_eeprom_write(char *eeprom_file, int port)
ret = fread(&sfp_header, 1, sizeof(struct shw_sfp_header), fp);
if (ret != sizeof(struct shw_sfp_header)) {
pr_error("Wrong number of bytes read. Expected %d, read %d\n",
pr_error("Wrong number of bytes read. Expected %zu, read %d\n",
sizeof(struct shw_sfp_header), ret);
exit(1);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment