Commit 32f3dde55ba1b28863c0f0611d2c9dcf2d728ec8

Authored by Stephen Hemminger
Committed by David S. Miller
1 parent fa665ccf01

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>

Showing 1 changed file with 1 additions and 3 deletions Side-by-side Diff

drivers/atm/iphase.c
... ... @@ -977,9 +977,7 @@
977 977 else
978 978 pBuf += sprintf( pBuf, "." );
979 979 }
980   - sprintf( pBuf, "\n" );
981   - // SPrint(prntBuf);
982   - printk(prntBuf);
  980 + printk("%s\n", prntBuf);
983 981 count += col;
984 982 pBuf = prntBuf;
985 983 }