summaryrefslogtreecommitdiffstats
path: root/drivers/atm
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-03-20 07:44:02 +0100
committerDavid S. Miller <davem@davemloft.net>2009-03-22 03:06:51 +0100
commit32f3dde55ba1b28863c0f0611d2c9dcf2d728ec8 (patch)
tree3ec3edcdac9aadeae00ec2fa14696e5c352cf964 /drivers/atm
parentipx: use constant for strings and desciptor (diff)
downloadlinux-32f3dde55ba1b28863c0f0611d2c9dcf2d728ec8.tar.xz
linux-32f3dde55ba1b28863c0f0611d2c9dcf2d728ec8.zip
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/atm')
-rw-r--r--drivers/atm/iphase.c4
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 )
else
pBuf += sprintf( pBuf, "." );
}
- sprintf( pBuf, "\n" );
- // SPrint(prntBuf);
- printk(prntBuf);
+ printk("%s\n", prntBuf);
count += col;
pBuf = prntBuf;
}