Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Dec 2012 20:23:54 +0000 (UTC)
From:      Devin Teske <dteske@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r244688 - stable/9/usr.sbin/sysinstall
Message-ID:  <201212252023.qBPKNsJ5024063@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dteske
Date: Tue Dec 25 20:23:53 2012
New Revision: 244688
URL: http://svnweb.freebsd.org/changeset/base/244688

Log:
  Fix error message to be accurate for when ProgName is not "sysinstall" (oops?)

Modified:
  stable/9/usr.sbin/sysinstall/variable.c

Modified: stable/9/usr.sbin/sysinstall/variable.c
==============================================================================
--- stable/9/usr.sbin/sysinstall/variable.c	Tue Dec 25 17:39:37 2012	(r244687)
+++ stable/9/usr.sbin/sysinstall/variable.c	Tue Dec 25 20:23:53 2012	(r244688)
@@ -247,8 +247,8 @@ dump_variables(dialogMenuItem *unused)
 
     fp = fopen("/etc/sysinstall.vars", "w");
     if (!fp) {
-	msgConfirm("Unable to write to /etc/%s.vars: %s",
-		   ProgName, strerror(errno));
+	msgConfirm("Unable to write to /etc/sysinstall.vars: %s",
+		   strerror(errno));
 	return DITEM_FAILURE;
     }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212252023.qBPKNsJ5024063>