Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/xen/xen Don't use variables as format string.
details: https://anonhg.NetBSD.org/src/rev/ff7cfd2f2b68
branches: trunk
changeset: 771544:ff7cfd2f2b68
user: joerg <joerg%NetBSD.org@localhost>
date: Thu Nov 24 18:34:56 2011 +0000
description:
Don't use variables as format string.
diffstat:
sys/arch/xen/xen/xbdback_xenbus.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r f7abe7860967 -r ff7cfd2f2b68 sys/arch/xen/xen/xbdback_xenbus.c
--- a/sys/arch/xen/xen/xbdback_xenbus.c Thu Nov 24 17:09:14 2011 +0000
+++ b/sys/arch/xen/xen/xbdback_xenbus.c Thu Nov 24 18:34:56 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: xbdback_xenbus.c,v 1.52 2011/11/24 01:47:18 jym Exp $ */
+/* $NetBSD: xbdback_xenbus.c,v 1.53 2011/11/24 18:34:56 joerg Exp $ */
/*
* Copyright (c) 2006 Manuel Bouyer.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xbdback_xenbus.c,v 1.52 2011/11/24 01:47:18 jym Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xbdback_xenbus.c,v 1.53 2011/11/24 18:34:56 joerg Exp $");
#include <sys/atomic.h>
#include <sys/buf.h>
@@ -639,7 +639,7 @@
hypervisor_notify_via_evtchn(xbdi->xbdi_evtchn);
if (kthread_create(IPL_NONE, KTHREAD_MPSAFE, NULL,
- xbdback_thread, xbdi, NULL, xbdi->xbdi_name) == 0)
+ xbdback_thread, xbdi, NULL, "%s", xbdi->xbdi_name) == 0)
return 0;
err2:
Home |
Main Index |
Thread Index |
Old Index