Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Fix compile error.
details: https://anonhg.NetBSD.org/src/rev/01acd214026d
branches: trunk
changeset: 446341:01acd214026d
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Sat Dec 01 02:08:16 2018 +0000
description:
Fix compile error.
diffstat:
sys/kern/subr_autoconf.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r c763f6b7fe00 -r 01acd214026d sys/kern/subr_autoconf.c
--- a/sys/kern/subr_autoconf.c Sat Dec 01 01:56:30 2018 +0000
+++ b/sys/kern/subr_autoconf.c Sat Dec 01 02:08:16 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_autoconf.c,v 1.264 2018/12/01 01:51:38 msaitoh Exp $ */
+/* $NetBSD: subr_autoconf.c,v 1.265 2018/12/01 02:08:16 msaitoh Exp $ */
/*
* Copyright (c) 1996, 2000 Christopher G. Demetriou
@@ -77,7 +77,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_autoconf.c,v 1.264 2018/12/01 01:51:38 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_autoconf.c,v 1.265 2018/12/01 02:08:16 msaitoh Exp $");
#ifdef _KERNEL_OPT
#include "opt_ddb.h"
@@ -449,8 +449,7 @@
dc->dc_dev->dv_flags &= ~DVF_ATTACH_INPROGRESS;
if (!device_pmf_is_registered(dc->dc_dev))
aprint_debug_dev(dc->dc_dev,
- "WARNING: power management not supported\n",
- device_xname(dc->dc_dev));
+ "WARNING: power management not supported\n");
config_pending_decr(dc->dc_dev);
kmem_free(dc, sizeof(*dc));
}
Home |
Main Index |
Thread Index |
Old Index