summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/variable.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2008-05-11 07:13:08 +0000
committerobrien <obrien@FreeBSD.org>2008-05-11 07:13:08 +0000
commit2d5be982d386d844d0bf6c6c0e0e9483d797de8c (patch)
tree27ea8a0f9f934827aa58967de8bc6f8263a94867 /usr.sbin/sade/variable.c
parent3b2c44be48c34cdc488bcf55cfc1f6f52ab7588e (diff)
downloadFreeBSD-src-2d5be982d386d844d0bf6c6c0e0e9483d797de8c.zip
FreeBSD-src-2d5be982d386d844d0bf6c6c0e0e9483d797de8c.tar.gz
Clean up several instances of SADE calling itself sysinstall.
(do so generically so the same set of changes can be applied to sysinstall)
Diffstat (limited to 'usr.sbin/sade/variable.c')
-rw-r--r--usr.sbin/sade/variable.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/sade/variable.c b/usr.sbin/sade/variable.c
index 7809deb..9abbcf4 100644
--- a/usr.sbin/sade/variable.c
+++ b/usr.sbin/sade/variable.c
@@ -238,12 +238,12 @@ dump_variables(dialogMenuItem *unused)
Variable *vp;
if (isDebug())
- msgDebug("Writing sysinstall variables to file..\n");
+ msgDebug("Writing %s variables to file..\n", StartName);
- fp = fopen("/etc/sysinstall.vars", "w");
+ fp = fopen("/etc/sade.vars", "w");
if (!fp) {
- msgConfirm("Unable to write to /etc/sysinstall.vars: %s",
- strerror(errno));
+ msgConfirm("Unable to write to /etc/%s.vars: %s",
+ StartName, strerror(errno));
return DITEM_FAILURE;
}
OpenPOWER on IntegriCloud