atm: fix non-const printk argument
authorStephen Hemminger <shemminger@vyatta.com>
Fri, 20 Mar 2009 06:44:02 +0000 (06:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Mar 2009 02:06:51 +0000 (19:06 -0700)
Change printk() argument to fix compiler warning.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/iphase.c

index e1c7611..78c9736 100644 (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;
     }