Skip to content

Commit

Permalink
atm: fix non-const printk argument
Browse files Browse the repository at this point in the history
Change printk() argument to fix compiler warning.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Mar 22, 2009
1 parent fa665cc commit 32f3dde
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/atm/iphase.c
Original file line number Diff line number Diff line change
Expand Up @@ -977,9 +977,7 @@ static void xdump( u_char* cp, int length, char* prefix )
else
pBuf += sprintf( pBuf, "." );
}
sprintf( pBuf, "\n" );
// SPrint(prntBuf);
printk(prntBuf);
printk("%s\n", prntBuf);
count += col;
pBuf = prntBuf;
}
Expand Down

0 comments on commit 32f3dde

Please sign in to comment.