diff --git a/sys/arch/pmax/dev/pm.c b/sys/arch/pmax/dev/pm.c index 8babfa17c3d6..179747c1d406 100644 --- a/sys/arch/pmax/dev/pm.c +++ b/sys/arch/pmax/dev/pm.c @@ -1,4 +1,4 @@ -/* $NetBSD: pm.c,v 1.7 1995/09/11 07:45:43 jonathan Exp $ */ +/* $NetBSD: pm.c,v 1.8 1995/09/11 21:31:25 jonathan Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -236,6 +236,8 @@ pminit(fi, unit, silent) { register PCCRegs *pcc = (PCCRegs *)MACH_PHYS_TO_UNCACHED(KN01_SYS_PCC); + if (fi == 0) fi = &pmfi; + /* Set address of frame buffer... */ fi->fi_pixels = (caddr_t)MACH_PHYS_TO_UNCACHED(KN01_PHYS_FBUF_START);