Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/installboot don't print a warning if the callback f...
details: https://anonhg.NetBSD.org/src/rev/f71ffa3a573f
branches: trunk
changeset: 526990:f71ffa3a573f
user: lukem <lukem%NetBSD.org@localhost>
date: Wed May 15 13:34:27 2002 +0000
description:
don't print a warning if the callback failed; rely upon the callback
to do that for us.
diffstat:
usr.sbin/installboot/bbinfo.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (30 lines):
diff -r 0f0ed3ce4493 -r f71ffa3a573f usr.sbin/installboot/bbinfo.c
--- a/usr.sbin/installboot/bbinfo.c Wed May 15 13:32:10 2002 +0000
+++ b/usr.sbin/installboot/bbinfo.c Wed May 15 13:34:27 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bbinfo.c,v 1.1 2002/05/15 09:56:59 lukem Exp $ */
+/* $NetBSD: bbinfo.c,v 1.2 2002/05/15 13:34:27 lukem Exp $ */
/*-
* Copyright (c) 1998, 2002 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(__lint)
-__RCSID("$NetBSD: bbinfo.c,v 1.1 2002/05/15 09:56:59 lukem Exp $");
+__RCSID("$NetBSD: bbinfo.c,v 1.2 2002/05/15 13:34:27 lukem Exp $");
#endif /* !__lint */
#if HAVE_CONFIG_H
@@ -241,10 +241,8 @@
goto done;
}
}
- if (callback != NULL && ! (*callback)(params, bbparams, bb)) {
- warnx("Machine dependant bbinfo callback failed");
+ if (callback != NULL && ! (*callback)(params, bbparams, bb))
goto done;
- }
if (params->flags & IB_VERBOSE) {
printf("Bootstrap start sector: %u\n",
Home |
Main Index |
Thread Index |
Old Index