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 e1c7611e9144cdcd0d6b50d0acf284da77a0a4d7..78c9736c3579beba974dc546cbd4bfbe8298bcf4 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;
     }