vserver 1.9.5.x5
[linux-2.6.git] / drivers / parisc / power.c
index 9a2a26c..d097e7e 100644 (file)
@@ -54,9 +54,9 @@
 
 
 #ifdef DEBUG
-# define DPRINTK(x) printk x
+# define DPRINTK(x...) printk(x)
 #else
-# define DPRINTK(x) do { } while (0)
+# define DPRINTK(x...)
 #endif
 
 
@@ -120,14 +120,14 @@ static int shutdown_timer;
 static void process_shutdown(void)
 {
        if (shutdown_timer == 0)
-               DPRINTK((KERN_INFO "Shutdown requested...\n"));
+               DPRINTK(KERN_INFO "Shutdown requested...\n");
 
        shutdown_timer++;
        
        /* wait until the button was pressed for 1 second */
        if (shutdown_timer == HZ) {
                static char msg[] = "Shutting down...";
-               DPRINTK((KERN_INFO "%s\n", msg));
+               DPRINTK(KERN_INFO "%s\n", msg);
 #ifdef CONFIG_CHASSIS_LCD_LED
                lcd_print(msg);
 #endif