summaryrefslogtreecommitdiffstats
path: root/usr.bin/fetch
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2002-03-26 12:09:49 +0000
committercharnier <charnier@FreeBSD.org>2002-03-26 12:09:49 +0000
commit896929d2babe086638e4cb86adb1514a613053b6 (patch)
treed6d0c0bf1b91edad7042b73b54ede426580d3e99 /usr.bin/fetch
parent7f9da3da3b3f2c8fe6045636f072fc2ef0592789 (diff)
downloadFreeBSD-src-896929d2babe086638e4cb86adb1514a613053b6.zip
FreeBSD-src-896929d2babe086638e4cb86adb1514a613053b6.tar.gz
Add FBSDID. Remove unused include. Getopt returns -1 not EOF.
Diffstat (limited to 'usr.bin/fetch')
-rw-r--r--usr.bin/fetch/fetch.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/fetch/fetch.c b/usr.bin/fetch/fetch.c
index ce19f57..489e98c7 100644
--- a/usr.bin/fetch/fetch.c
+++ b/usr.bin/fetch/fetch.c
@@ -24,14 +24,14 @@
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <sys/param.h>
#include <sys/socket.h>
#include <sys/stat.h>
-#include <sys/time.h>
#include <ctype.h>
#include <err.h>
@@ -655,7 +655,7 @@ main(int argc, char *argv[])
int c, e, r;
while ((c = getopt(argc, argv,
- "146AaB:bc:dFf:Hh:lMmnPpo:qRrS:sT:tUvw:")) != EOF)
+ "146AaB:bc:dFf:Hh:lMmnPpo:qRrS:sT:tUvw:")) != -1)
switch (c) {
case '1':
once_flag = 1;
@@ -693,7 +693,7 @@ main(int argc, char *argv[])
f_filename = optarg;
break;
case 'H':
- warnx("The -H option is now implicit, "
+ warnx("the -H option is now implicit, "
"use -U to disable");
break;
case 'h':
OpenPOWER on IntegriCloud