Subject: CVS commit: basesrc/sbin/newfs
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 07/26/2001 19:53:39
Module Name:	basesrc
Committed By:	lukem
Date:		Thu Jul 26 16:53:39 UTC 2001

Modified Files:
	basesrc/sbin/newfs: mkfs.c

Log Message:
- check return value of calloc() in mkfs()
- in replacement malloc(), if sbrk(2) returns (void *)-1, convert to NULL
  before returning
- in replacement calloc(), check return value of malloc() before zeroing result


To generate a diff of this commit:
cvs rdiff -r1.43 -r1.44 basesrc/sbin/newfs/mkfs.c

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