Commit 32f3dde5 authored by Stephen Hemminger's avatar Stephen Hemminger Committed by David S. Miller

atm: fix non-const printk argument

Change printk() argument to fix compiler warning.
Signed-off-by: default avatarStephen Hemminger <shemminger@vyatta.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fa665ccf
...@@ -977,9 +977,7 @@ static void xdump( u_char* cp, int length, char* prefix ) ...@@ -977,9 +977,7 @@ static void xdump( u_char* cp, int length, char* prefix )
else else
pBuf += sprintf( pBuf, "." ); pBuf += sprintf( pBuf, "." );
} }
sprintf( pBuf, "\n" ); printk("%s\n", prntBuf);
// SPrint(prntBuf);
printk(prntBuf);
count += col; count += col;
pBuf = prntBuf; pBuf = prntBuf;
} }
......
Markdown is supported
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