Skip to content

Commit

Permalink
xen-netback: Trivial format string fix
Browse files Browse the repository at this point in the history
There is a "%" after pending_idx instead of ":".

Signed-off-by: Zoltan Kiss <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Zoltan Kiss authored and davem330 committed Apr 4, 2014
1 parent 65e71ff commit 00aefce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/xen-netback/netback.c
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,7 @@ static int xenvif_tx_check_gop(struct xenvif *vif,
if (unlikely(err)) {
if (net_ratelimit())
netdev_dbg(vif->dev,
"Grant copy of header failed! status: %d pending_idx% %u ref: %u\n",
"Grant copy of header failed! status: %d pending_idx: %u ref: %u\n",
(*gopp_copy)->status,
pending_idx,
(*gopp_copy)->source.u.ref);
Expand Down Expand Up @@ -985,7 +985,7 @@ static int xenvif_tx_check_gop(struct xenvif *vif,
/* Error on this fragment: respond to client with an error. */
if (net_ratelimit())
netdev_dbg(vif->dev,
"Grant map of %d. frag failed! status: %d pending_idx% %u ref: %u\n",
"Grant map of %d. frag failed! status: %d pending_idx: %u ref: %u\n",
i,
gop_map->status,
pending_idx,
Expand Down

0 comments on commit 00aefce

Please sign in to comment.