Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev Do not printf(foobar()). Bad bad bad bad bad!
details: https://anonhg.NetBSD.org/src/rev/9d44c1eb9909
branches: trunk
changeset: 330805:9d44c1eb9909
user: riastradh <riastradh%NetBSD.org@localhost>
date: Tue Jul 22 15:42:59 2014 +0000
description:
Do not printf(foobar()). Bad bad bad bad bad!
diffstat:
sys/dev/pci/radeonfb.c | 6 +++---
sys/dev/wsfb/genfb.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r 2aba7fedab97 -r 9d44c1eb9909 sys/dev/pci/radeonfb.c
--- a/sys/dev/pci/radeonfb.c Tue Jul 22 15:15:22 2014 +0000
+++ b/sys/dev/pci/radeonfb.c Tue Jul 22 15:42:59 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: radeonfb.c,v 1.83 2014/02/20 01:41:28 joerg Exp $ */
+/* $NetBSD: radeonfb.c,v 1.84 2014/07/22 15:42:59 riastradh Exp $ */
/*-
* Copyright (c) 2006 Itronix Inc.
@@ -70,7 +70,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: radeonfb.c,v 1.83 2014/02/20 01:41:28 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: radeonfb.c,v 1.84 2014/07/22 15:42:59 riastradh Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -464,7 +464,7 @@
pci_aprint_devinfo(pa, NULL);
- DPRINTF((prop_dictionary_externalize(device_properties(dev))));
+ DPRINTF(("%s", prop_dictionary_externalize(device_properties(dev))));
KASSERT(radeonfb_devices[i].devid != 0);
sc->sc_pt = pa->pa_tag;
diff -r 2aba7fedab97 -r 9d44c1eb9909 sys/dev/wsfb/genfb.c
--- a/sys/dev/wsfb/genfb.c Tue Jul 22 15:15:22 2014 +0000
+++ b/sys/dev/wsfb/genfb.c Tue Jul 22 15:42:59 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: genfb.c,v 1.53 2014/03/18 18:20:42 riastradh Exp $ */
+/* $NetBSD: genfb.c,v 1.54 2014/07/22 15:42:59 riastradh Exp $ */
/*-
* Copyright (c) 2007 Michael Lorenz
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: genfb.c,v 1.53 2014/03/18 18:20:42 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: genfb.c,v 1.54 2014/07/22 15:42:59 riastradh Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -100,7 +100,7 @@
dict = device_properties(sc->sc_dev);
#ifdef GENFB_DEBUG
- printf(prop_dictionary_externalize(dict));
+ printf("%s", prop_dictionary_externalize(dict));
#endif
prop_dictionary_get_bool(dict, "is_console", &console);
Home |
Main Index |
Thread Index |
Old Index