diff options
author | jkh <jkh@FreeBSD.org> | 1997-01-15 11:48:37 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1997-01-15 11:48:37 +0000 |
commit | 83ba4d6e86e07d8950aae26dc16c707eaacce222 (patch) | |
tree | ddc6fefc2656aa76a3bbbda50db356f6945d81a2 | |
parent | a9d824caea79a42eb2524b7e68a4fece5b41070d (diff) | |
download | FreeBSD-src-83ba4d6e86e07d8950aae26dc16c707eaacce222.zip FreeBSD-src-83ba4d6e86e07d8950aae26dc16c707eaacce222.tar.gz |
Add some missing parameters to msgConfirm() which produced the effects
noted in PR#2454
-rw-r--r-- | release/sysinstall/installUpgrade.c | 4 | ||||
-rw-r--r-- | usr.sbin/sysinstall/installUpgrade.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/release/sysinstall/installUpgrade.c b/release/sysinstall/installUpgrade.c index 064ffff..a6c9db4 100644 --- a/release/sysinstall/installUpgrade.c +++ b/release/sysinstall/installUpgrade.c @@ -159,7 +159,7 @@ traverseHitlist(HitList *h) if (!file_readable(h->name)) { if (!h->optional) msgConfirm("Unable to find an old /etc/%s file! That is decidedly non-standard and\n" - "your upgraded system may function a little strangely as a result."); + "your upgraded system may function a little strangely as a result.", h->name); } else { if (h->action == JUST_COPY) { @@ -363,7 +363,7 @@ media: msgConfirm("Unable to go to your saved /etc directory in %s?! Argh!\n" "Something went seriously wrong! It's quite possible that\n" "your former /etc is toast. I hope you didn't have any\n" - "important customizations you wanted to keep in there.. :("); + "important customizations you wanted to keep in there.. :(", saved_etc); } else { /* Now try to resurrect the /etc files */ diff --git a/usr.sbin/sysinstall/installUpgrade.c b/usr.sbin/sysinstall/installUpgrade.c index 064ffff..a6c9db4 100644 --- a/usr.sbin/sysinstall/installUpgrade.c +++ b/usr.sbin/sysinstall/installUpgrade.c @@ -159,7 +159,7 @@ traverseHitlist(HitList *h) if (!file_readable(h->name)) { if (!h->optional) msgConfirm("Unable to find an old /etc/%s file! That is decidedly non-standard and\n" - "your upgraded system may function a little strangely as a result."); + "your upgraded system may function a little strangely as a result.", h->name); } else { if (h->action == JUST_COPY) { @@ -363,7 +363,7 @@ media: msgConfirm("Unable to go to your saved /etc directory in %s?! Argh!\n" "Something went seriously wrong! It's quite possible that\n" "your former /etc is toast. I hope you didn't have any\n" - "important customizations you wanted to keep in there.. :("); + "important customizations you wanted to keep in there.. :(", saved_etc); } else { /* Now try to resurrect the /etc files */ |