diff options
author | jkh <jkh@FreeBSD.org> | 1997-01-29 21:45:30 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1997-01-29 21:45:30 +0000 |
commit | 369e45d4cb610285a37059682f90b3f95cbd8cf2 (patch) | |
tree | ed8d79dd70625b73fb1afe48f6e54ac02aaa96b4 /usr.sbin/sysinstall/ftp.c | |
parent | ac85456797b8074dad5c1af1bb141abb9206d6ec (diff) | |
download | FreeBSD-src-369e45d4cb610285a37059682f90b3f95cbd8cf2.zip FreeBSD-src-369e45d4cb610285a37059682f90b3f95cbd8cf2.tar.gz |
Cosmetic tweaks.
Also redirect stderr to Debug when running multiuser.
Diffstat (limited to 'usr.sbin/sysinstall/ftp.c')
-rw-r--r-- | usr.sbin/sysinstall/ftp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/ftp.c b/usr.sbin/sysinstall/ftp.c index f83dfda..0cbb53f 100644 --- a/usr.sbin/sysinstall/ftp.c +++ b/usr.sbin/sysinstall/ftp.c @@ -98,7 +98,7 @@ try: sprintf(password, "installer@%s", variable_get(VAR_HOSTNAME)); msgNotify("Logging in to %s@%s..", login_name, hostname); if ((OpenConn = ftpLogin(hostname, login_name, password, FtpPort, isDebug(), &code)) == NULL) { - msgConfirm("Couldn't open FTP connection to %s, errcode = %d", hostname, code); + msgConfirm("Couldn't open FTP connection to %s:\n %s.", hostname, ftpErrString(code)); goto punt; } @@ -110,7 +110,7 @@ try: msgConfirm("No such directory ftp://%s/%s\n" "please check your URL and try again.", hostname, dir); else - msgConfirm("FTP chdir to ftp://%s/%s returned error status %d\n", hostname, dir, i); + msgConfirm("FTP chdir to ftp://%s/%s returned error status:\n %s.", hostname, dir, ftpErrString(i)); goto punt; } } |