Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/distrib/utils/sysinst/Attic/util.c,v rcsdiff: /ftp/cvs/cvsroot/src/distrib/utils/sysinst/Attic/util.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.40 retrieving revision 1.41 diff -u -p -r1.40 -r1.41 --- src/distrib/utils/sysinst/Attic/util.c 1999/04/18 04:09:27 1.40 +++ src/distrib/utils/sysinst/Attic/util.c 1999/06/20 04:17:57 1.41 @@ -1,4 +1,4 @@ -/* $NetBSD: util.c,v 1.40 1999/04/18 04:09:27 simonb Exp $ */ +/* $NetBSD: util.c,v 1.41 1999/06/20 04:17:57 garbled Exp $ */ /* * Copyright 1997 Piermont Information Systems Inc. @@ -866,7 +866,10 @@ int askyesno(int reverse) int c, found; yesnowin = subwin(stdscr, 5, 20, getmaxy(stdscr)/2 - 2, getmaxx(stdscr)/2 - 10); - + if (yesnowin == NULL) { + fprintf(stderr, "sysinst: failed to allocate yes/no box\n"); + exit(1); + } box(yesnowin, '*', '*'); wmove(yesnowin, 2,2);