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:
Stephen Hemminger 2009-03-20 06:44:02 +00:00 committed by David S. Miller
parent fa665ccf01
commit 32f3dde55b

View File

@ -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;
}