diff options
-rw-r--r-- | usr.sbin/ypserv/stdhosts/stdhosts.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ypserv/stdhosts/stdhosts.c b/usr.sbin/ypserv/stdhosts/stdhosts.c index 41b3c686d0b..5b244e5c0ca 100644 --- a/usr.sbin/ypserv/stdhosts/stdhosts.c +++ b/usr.sbin/ypserv/stdhosts/stdhosts.c @@ -1,4 +1,4 @@ -/* $OpenBSD: stdhosts.c,v 1.6 2002/03/26 02:22:41 ericj Exp $ */ +/* $OpenBSD: stdhosts.c,v 1.7 2002/03/28 22:05:58 fgsch Exp $ */ /* * Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se> @@ -32,7 +32,7 @@ */ #ifndef LINT -static char rcsid[] = "$OpenBSD: stdhosts.c,v 1.6 2002/03/26 02:22:41 ericj Exp $"; +static char rcsid[] = "$OpenBSD: stdhosts.c,v 1.7 2002/03/28 22:05:58 fgsch Exp $"; #endif #include <sys/types.h> @@ -92,10 +92,10 @@ main(argc, argv) exit(1); } - if (argc == 2) + if (argc == 2) { if ((data_file = fopen(argv[argc-1], "r")) == NULL) err(1, ""); - else + } else data_file = stdin; while (read_line(data_file, data_line, sizeof(data_line))) { |