sprinkle \n
This commit is contained in:
parent
09f5c97a83
commit
7e95514fdc
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: genfb.c,v 1.11 2007/11/05 16:57:46 macallan Exp $ */
|
||||
/* $NetBSD: genfb.c,v 1.12 2007/11/19 04:00:39 macallan Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2007 Michael Lorenz
|
||||
|
@ -30,7 +30,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: genfb.c,v 1.11 2007/11/05 16:57:46 macallan Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: genfb.c,v 1.12 2007/11/19 04:00:39 macallan Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -96,21 +96,21 @@ genfb_init(struct genfb_softc *sc)
|
|||
printf(prop_dictionary_externalize(dict));
|
||||
#endif
|
||||
if (!prop_dictionary_get_uint32(dict, "width", &sc->sc_width)) {
|
||||
GPRINTF("no width property");
|
||||
GPRINTF("no width property\n");
|
||||
return;
|
||||
}
|
||||
if (!prop_dictionary_get_uint32(dict, "height", &sc->sc_height)) {
|
||||
GPRINTF("no height property");
|
||||
GPRINTF("no height property\n");
|
||||
return;
|
||||
}
|
||||
if (!prop_dictionary_get_uint32(dict, "depth", &sc->sc_depth)) {
|
||||
GPRINTF("no depth property");
|
||||
GPRINTF("no depth property\n");
|
||||
return;
|
||||
}
|
||||
|
||||
/* XXX should be a 64bit value */
|
||||
if (!prop_dictionary_get_uint32(dict, "address", &fboffset)) {
|
||||
GPRINTF("no address property");
|
||||
GPRINTF("no address property\n");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue