[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Fix compile warning from zero-length printf format string.
# HG changeset patch # User cl349@xxxxxxxxxxxxxxxxxxxx # Node ID a4b22c7fbfa10595e530e9b920ddd333485b2baf # Parent 3b0ce44f7b7ac1a2d93b9891e3d570b6d9c01f35 Fix compile warning from zero-length printf format string. Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx> diff -r 3b0ce44f7b7a -r a4b22c7fbfa1 linux-2.6-xen-sparse/arch/xen/kernel/reboot.c --- a/linux-2.6-xen-sparse/arch/xen/kernel/reboot.c Wed Aug 17 08:27:16 2005 +++ b/linux-2.6-xen-sparse/arch/xen/kernel/reboot.c Wed Aug 17 08:52:04 2005 @@ -264,7 +264,7 @@ return; } - xenbus_printf("control", "shutdown", ""); + xenbus_write("control", "shutdown", "", O_CREAT); if (strcmp(str, "poweroff") == 0) shutting_down = SHUTDOWN_POWEROFF; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |