Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/x86 Use a proper format string.
details: https://anonhg.NetBSD.org/src/rev/0ffb0cd7d46e
branches: trunk
changeset: 354588:0ffb0cd7d46e
user: joerg <joerg%NetBSD.org@localhost>
date: Thu Jun 22 13:32:47 2017 +0000
description:
Use a proper format string.
diffstat:
sys/arch/x86/x86/ipmi.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 821bf821eb02 -r 0ffb0cd7d46e sys/arch/x86/x86/ipmi.c
--- a/sys/arch/x86/x86/ipmi.c Thu Jun 22 13:32:04 2017 +0000
+++ b/sys/arch/x86/x86/ipmi.c Thu Jun 22 13:32:47 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ipmi.c,v 1.65 2017/06/21 21:55:07 christos Exp $ */
+/* $NetBSD: ipmi.c,v 1.66 2017/06/22 13:32:47 joerg Exp $ */
/*
* Copyright (c) 2006 Manuel Bouyer.
@@ -52,7 +52,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ipmi.c,v 1.65 2017/06/21 21:55:07 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ipmi.c,v 1.66 2017/06/22 13:32:47 joerg Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -2165,7 +2165,7 @@
cv_init(&sc->sc_poll_cv, "ipmipoll");
if (kthread_create(PRI_NONE, 0, NULL, ipmi_thread, self,
- &sc->sc_kthread, device_xname(self)) != 0) {
+ &sc->sc_kthread, "%s", device_xname(self)) != 0) {
aprint_error_dev(self, "unable to create thread, disabled\n");
}
}
Home |
Main Index |
Thread Index |
Old Index