Subject: CVS commit: src/usr.bin/systat
To: None <source-changes@NetBSD.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 08/03/2003 12:15:00
Module Name:	src
Committed By:	jdolecek
Date:		Sun Aug  3 12:14:59 UTC 2003

Modified Files:
	src/usr.bin/systat: main.c

Log Message:
if kvm_nlist() fails, nlisterr() would be called before the screen
curses context would be initialized; just use errx() instead in this case
this fixes coredump for cases like 'systat -N /netbsd.gz', reported by Walt
on port-i386

in nlisterr(), wait a while (5 seconds currently) before exiting, so that
it would be actually possible to actually see the error


To generate a diff of this commit:
cvs rdiff -r1.33 -r1.34 src/usr.bin/systat/main.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.