Module Name:    src
Committed By:   joerg
Date:           Thu Nov 24 18:34:56 UTC 2011

Modified Files:
        src/sys/arch/xen/xen: xbdback_xenbus.c

Log Message:
Don't use variables as format string.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/sys/arch/xen/xen/xbdback_xenbus.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/xen/xen/xbdback_xenbus.c
diff -u src/sys/arch/xen/xen/xbdback_xenbus.c:1.52 src/sys/arch/xen/xen/xbdback_xenbus.c:1.53
--- src/sys/arch/xen/xen/xbdback_xenbus.c:1.52	Thu Nov 24 01:47:18 2011
+++ src/sys/arch/xen/xen/xbdback_xenbus.c	Thu Nov 24 18:34:56 2011
@@ -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 @@ xbdback_connect(struct xbdback_instance 
 	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:

Reply via email to