Skip to content
Snippets Groups Projects
Commit 9d2ee98d authored by stephen hemminger's avatar stephen hemminger Committed by David S. Miller
Browse files

skge: add paren around sizeof arg

parent a4a76503
No related branches found
No related tags found
No related merge requests found
...@@ -3516,7 +3516,7 @@ static const char *skge_board_name(const struct skge_hw *hw) ...@@ -3516,7 +3516,7 @@ static const char *skge_board_name(const struct skge_hw *hw)
if (skge_chips[i].id == hw->chip_id) if (skge_chips[i].id == hw->chip_id)
return skge_chips[i].name; return skge_chips[i].name;
snprintf(buf, sizeof buf, "chipid 0x%x", hw->chip_id); snprintf(buf, sizeof(buf), "chipid 0x%x", hw->chip_id);
return buf; return buf;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment