Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/riastradh-drm2]: src/sys/external/bsd/drm2/i915drm Use %d, not %s, for t...
details: https://anonhg.NetBSD.org/src/rev/8c48c1a776a9
branches: riastradh-drm2
changeset: 788358:8c48c1a776a9
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jul 24 03:24:52 2013 +0000
description:
Use %d, not %s, for the error number in i915_module.c.
diffstat:
sys/external/bsd/drm2/i915drm/i915_module.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 06956f3e4f04 -r 8c48c1a776a9 sys/external/bsd/drm2/i915drm/i915_module.c
--- a/sys/external/bsd/drm2/i915drm/i915_module.c Wed Jul 24 03:24:36 2013 +0000
+++ b/sys/external/bsd/drm2/i915drm/i915_module.c Wed Jul 24 03:24:52 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: i915_module.c,v 1.1.2.2 2013/07/24 03:14:49 riastradh Exp $ */
+/* $NetBSD: i915_module.c,v 1.1.2.3 2013/07/24 03:24:52 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i915_module.c,v 1.1.2.2 2013/07/24 03:14:49 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i915_module.c,v 1.1.2.3 2013/07/24 03:24:52 riastradh Exp $");
#include <sys/types.h>
#include <sys/module.h>
@@ -55,7 +55,7 @@
error = config_init_component(cfdriver_ioconf_i915drm,
cfattach_ioconf_i915drm, cfdata_ioconf_i915drm);
if (error) {
- aprint_error("i915drm: failed to init component: %s\n",
+ aprint_error("i915drm: failed to init component: %d\n",
error);
return error;
}
@@ -67,7 +67,7 @@
error = config_fini_component(cfdriver_ioconf_i915drm,
cfattach_ioconf_i915drm, cfdata_ioconf_i915drm);
if (error) {
- aprint_error("i915drm: failed to fini component: %s\n",
+ aprint_error("i915drm: failed to fini component: %d\n",
error);
return error;
}
Home |
Main Index |
Thread Index |
Old Index