[Midnightbsd-cvs] src [9290] trunk/usr.sbin/sysinstall/index.c: update error messages.
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu Mar 2 18:08:23 EST 2017
Revision: 9290
http://svnweb.midnightbsd.org/src/?rev=9290
Author: laffer1
Date: 2017-03-02 18:08:23 -0500 (Thu, 02 Mar 2017)
Log Message:
-----------
update error messages.
Modified Paths:
--------------
trunk/usr.sbin/sysinstall/index.c
Modified: trunk/usr.sbin/sysinstall/index.c
===================================================================
--- trunk/usr.sbin/sysinstall/index.c 2017-03-02 23:07:36 UTC (rev 9289)
+++ trunk/usr.sbin/sysinstall/index.c 2017-03-02 23:08:23 UTC (rev 9290)
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $MidnightBSD: src/usr.sbin/sysinstall/index.c,v 1.5 2011/03/26 22:17:28 laffer1 Exp $
+ * $MidnightBSD$
* $FreeBSD: src/usr.sbin/sysinstall/index.c,v 1.106 2005/07/02 22:34:22 dwhite Exp $
*/
@@ -873,11 +873,11 @@
msgNotify("Attempting to fetch %s file from selected media.", path);
fp = DEVICE_GET(mediaDevice, path, TRUE);
if (!fp) {
- msgConfirm("Unable to get packages/INDEX file from selected media.\n\n"
+ msgConfirm("Unable to get %s file from selected media.\n\n"
"This may be because the packages collection is not available\n"
"on the distribution media you've chosen, most likely an FTP site\n"
"without the packages collection mirrored. Please verify that\n"
- "your media, or your path to the media, is correct and try again.");
+ "your media, or your path to the media, is correct and try again.", path);
DEVICE_SHUTDOWN(mediaDevice);
restorescr(w);
return DITEM_FAILURE;
@@ -886,8 +886,9 @@
msgNotify("Located INDEX, now reading package data from it...");
index_init(&Top, &Plist);
if (index_read(fp, &Top)) {
- msgConfirm("I/O or format error on packages/INDEX file.\n"
- "Please verify media (or path to media) and try again.");
+ msgConfirm("I/O or format error on %s file.\n"
+ "Please verify media (or path to media) and try again.",
+ path);
fclose(fp);
restorescr(w);
return DITEM_FAILURE;
More information about the Midnightbsd-cvs
mailing list