ia64/xen-unstable

changeset 6220:a4b22c7fbfa1

Fix compile warning from zero-length printf format string.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Wed Aug 17 08:52:04 2005 +0000 (2005-08-17)
parents 3b0ce44f7b7a
children 074aadbb0fa8
files linux-2.6-xen-sparse/arch/xen/kernel/reboot.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/arch/xen/kernel/reboot.c	Wed Aug 17 08:27:16 2005 +0000
     1.2 +++ b/linux-2.6-xen-sparse/arch/xen/kernel/reboot.c	Wed Aug 17 08:52:04 2005 +0000
     1.3 @@ -264,7 +264,7 @@ static void shutdown_handler(struct xenb
     1.4          return;
     1.5      }
     1.6  
     1.7 -    xenbus_printf("control", "shutdown", "");
     1.8 +    xenbus_write("control", "shutdown", "", O_CREAT);
     1.9  
    1.10      if (strcmp(str, "poweroff") == 0)
    1.11          shutting_down = SHUTDOWN_POWEROFF;