diff options
author | jkh <jkh@FreeBSD.org> | 1997-01-15 16:21:10 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1997-01-15 16:21:10 +0000 |
commit | 0a608020ca8ac7086e4c8bda6632c6de3371557d (patch) | |
tree | 5cd14f8429c545bf05b57d3db39aae1b37ae9270 /usr.sbin/sysinstall/ftp.c | |
parent | 685ecfc4277d59baa4edf2ef39c962e3bdcab039 (diff) | |
download | FreeBSD-src-0a608020ca8ac7086e4c8bda6632c6de3371557d.zip FreeBSD-src-0a608020ca8ac7086e4c8bda6632c6de3371557d.tar.gz |
Keep our serial ports distinct so that first device is not found for
all (closes PR#2296).
Print better FTP failure diagnostics
Do better media failure checking in install.
Diffstat (limited to 'usr.sbin/sysinstall/ftp.c')
-rw-r--r-- | usr.sbin/sysinstall/ftp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/ftp.c b/usr.sbin/sysinstall/ftp.c index f1e4304..1c5a6e6 100644 --- a/usr.sbin/sysinstall/ftp.c +++ b/usr.sbin/sysinstall/ftp.c @@ -103,9 +103,10 @@ try: if (dir && *dir != '\0') { if ((i = ftpChdir(OpenConn, dir)) != 0) { if (i == 550) - msgConfirm("No such directory %s, please check your path and try again.", dir); + msgConfirm("No such directory ftp://%s/%s\n" + "please check your URL and try again.", hostname, dir); else - msgConfirm("FTP chdir to directory %s returned FTP error status %d\n", dir, i); + msgConfirm("FTP chdir to ftp://%s/%s returned error status %d\n", hostname, dir, i); goto punt; } } |