summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1999-03-04 10:45:06 +0000
committerkato <kato@FreeBSD.org>1999-03-04 10:45:06 +0000
commit1c22dee1f8afc6f84081281f69c8a429976b5922 (patch)
treeea4b3eae0e35182f2fb0e53301c5831a7b5d9042 /sys/boot
parentf87c1161feaef20204760bf49ee10fe6deb9a09c (diff)
downloadFreeBSD-src-1c22dee1f8afc6f84081281f69c8a429976b5922.zip
FreeBSD-src-1c22dee1f8afc6f84081281f69c8a429976b5922.tar.gz
boot2 doesn't need to say 'Can't find file boot.config.'
Submitted by: IMAI Takeshi <take-i@ceres.dti.ne.jp>
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/pc98/boot2/boot.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/boot/pc98/boot2/boot.c b/sys/boot/pc98/boot2/boot.c
index 0b4c3c4..5d5b5d6 100644
--- a/sys/boot/pc98/boot2/boot.c
+++ b/sys/boot/pc98/boot2/boot.c
@@ -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);
}
OpenPOWER on IntegriCloud