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
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue