mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
atm: fix non-const printk argument
Change printk() argument to fix compiler warning. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
fa665ccf01
commit
32f3dde55b
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue