diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-03-20 02:44:02 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-21 22:06:51 -0400 |
commit | 32f3dde55ba1b28863c0f0611d2c9dcf2d728ec8 (patch) | |
tree | 3ec3edcdac9aadeae00ec2fa14696e5c352cf964 /drivers | |
parent | fa665ccf01440644a3956ed039e51e1088cd0f15 (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/atm/iphase.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/atm/iphase.c b/drivers/atm/iphase.c index e1c7611e9144..78c9736c3579 100644 --- a/drivers/atm/iphase.c +++ b/drivers/atm/iphase.c | |||
@@ -977,9 +977,7 @@ static void xdump( u_char* cp, int length, char* prefix ) | |||
977 | else | 977 | else |
978 | pBuf += sprintf( pBuf, "." ); | 978 | pBuf += sprintf( pBuf, "." ); |
979 | } | 979 | } |
980 | sprintf( pBuf, "\n" ); | 980 | printk("%s\n", prntBuf); |
981 | // SPrint(prntBuf); | ||
982 | printk(prntBuf); | ||
983 | count += col; | 981 | count += col; |
984 | pBuf = prntBuf; | 982 | pBuf = prntBuf; |
985 | } | 983 | } |