提交 32f3dde5 编写于 作者: S Stephen Hemminger 提交者: David S. Miller

atm: fix non-const printk argument

Change printk() argument to fix compiler warning.
Signed-off-by: NStephen Hemminger <shemminger@vyatta.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册