summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/3.0-upgrade/cvt-wtmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/3.0-upgrade/cvt-wtmp.c b/tools/3.0-upgrade/cvt-wtmp.c
index 730fa80..f5d3653 100644
--- a/tools/3.0-upgrade/cvt-wtmp.c
+++ b/tools/3.0-upgrade/cvt-wtmp.c
@@ -23,7 +23,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id$
+ * $Id: cvt-wtmp.c,v 1.4 1997/02/22 14:08:01 peter Exp $
*
*/
@@ -82,7 +82,7 @@ main(int argc, char **argv)
int errs, i, nflag, forceflag, rv;
errs = nflag = forceflag = 0;
- while ((i = getopt(argc, argv, "fn")) != EOF)
+ while ((i = getopt(argc, argv, "fn")) != -1)
switch (i)
{
case 'f':
OpenPOWER on IntegriCloud