aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>2007-04-17 05:52:03 +0000
committerlukem <lukem@NetBSD.org>2007-04-17 05:52:03 +0000
commitf03f0dba0d741e3a0242e188ee85ecb48bca3d12 (patch)
tree209661357345e25816024308a53013a72822c020
parent7364dc7cf61ef4ae5ef55eae5171412322d56030 (diff)
downloadbsd-progress-f03f0dba0d741e3a0242e188ee85ecb48bca3d12.tar.gz
bsd-progress-f03f0dba0d741e3a0242e188ee85ecb48bca3d12.tar.zst
bsd-progress-f03f0dba0d741e3a0242e188ee85ecb48bca3d12.zip
* Implement -s srcaddr; uses srcaddr as the local IP address for all
connections. Based on code in the version of ftp that FreeBSD had before they replaced it with lukemftp. * Move error message handling into ftp_connect() rather than in the caller, so that more specific error reporting can occur. * Improve consistency of various warning and error messages.
-rw-r--r--progressbar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/progressbar.c b/progressbar.c
index 9c4d3c0..34d3cc6 100644
--- a/progressbar.c
+++ b/progressbar.c
@@ -1,4 +1,4 @@
-/* $NetBSD: progressbar.c,v 1.14 2007/04/12 06:13:02 lukem Exp $ */
+/* $NetBSD: progressbar.c,v 1.15 2007/04/17 05:52:03 lukem Exp $ */
/*-
* Copyright (c) 1997-2007 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: progressbar.c,v 1.14 2007/04/12 06:13:02 lukem Exp $");
+__RCSID("$NetBSD: progressbar.c,v 1.15 2007/04/17 05:52:03 lukem Exp $");
#endif /* not lint */
/*
@@ -471,7 +471,7 @@ xsignal(int sig, sigfunc func)
* This is unpleasant, but I don't know what would be better.
* Right now, this "can't happen"
*/
- errx(1, "xsignal_restart called with signal %d", sig);
+ errx(1, "xsignal_restart: called with signal %d", sig);
}
return(xsignal_restart(sig, func, restartable));