diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2008-09-23 20:45:28 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2008-09-23 20:45:28 +0000 |
commit | 9606ef23d5ca9676784ba103a2f87f033c46fad9 (patch) | |
tree | 2a04d986fe0416e0d5aa7a70cb8229951b11325f /sys/arch/macppc/pci | |
parent | 7c03fa05f7428935f2c035df6dcde8f220191e55 (diff) |
Plug more uninitialized variables.
Diffstat (limited to 'sys/arch/macppc/pci')
-rw-r--r-- | sys/arch/macppc/pci/vgafb.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/macppc/pci/vgafb.c b/sys/arch/macppc/pci/vgafb.c index 01388b1452a..7b8573ed282 100644 --- a/sys/arch/macppc/pci/vgafb.c +++ b/sys/arch/macppc/pci/vgafb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vgafb.c,v 1.34 2008/01/23 16:37:57 jsing Exp $ */ +/* $OpenBSD: vgafb.c,v 1.35 2008/09/23 20:45:27 miod Exp $ */ /* $NetBSD: vga.c,v 1.3 1996/12/02 22:24:54 cgd Exp $ */ /* @@ -383,6 +383,8 @@ vgafb_mmap(void *v, off_t offset, int prot) case WSDISPLAYIO_MODE_DUMBFB: if (offset >= 0x00000 && offset < vc->memsize) h = vc->vc_paddr + offset; + else + h = -1; break; } |