boot2 doesn't need to say 'Can't find file boot.config.'

Submitted by:	IMAI Takeshi <take-i@ceres.dti.ne.jp>
This commit is contained in:
KATO Takenori 1999-03-04 10:45:06 +00:00
parent eae8225c4c
commit 4a1bb98b26
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=44462

View File

@ -24,7 +24,7 @@
* the rights to redistribute these changes.
*
* from: Mach, [92/04/03 16:51:14 rvb]
* $Id: boot.c,v 1.19 1998/10/11 15:09:14 kato Exp $
* $Id: boot.c,v 1.1 1999/02/03 08:39:08 kato Exp $
*/
@ -373,10 +373,7 @@ readfile(char *path, char *buf, size_t nbytes)
buf[0] = '\0';
name = path;
openstatus = openrd();
if (openstatus != 0) {
if (openstatus > 0)
printf("Can't find file %s\n", name);
} else {
if (openstatus == 0) {
/* XXX no way to determine file size. */
read(buf, nbytes);
}