diff options
Diffstat (limited to 'bin/rcp/rcp.c')
-rw-r--r-- | bin/rcp/rcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/rcp/rcp.c b/bin/rcp/rcp.c index 39112c5d95f..2052c22c0a9 100644 --- a/bin/rcp/rcp.c +++ b/bin/rcp/rcp.c @@ -1,5 +1,5 @@ /* $NetBSD: rcp.c,v 1.9 1995/03/21 08:19:06 cgd Exp $ */ -/* $OpenBSD: rcp.c,v 1.8 1996/12/22 02:57:51 tholo Exp $ */ +/* $OpenBSD: rcp.c,v 1.9 1997/01/15 23:40:25 millert Exp $ */ /* * Copyright (c) 1983, 1990, 1992, 1993 @@ -124,7 +124,7 @@ main(argc, argv) char *targ, *shell; fflag = tflag = 0; - while ((ch = getopt(argc, argv, OPTIONS)) != EOF) + while ((ch = getopt(argc, argv, OPTIONS)) != -1) switch(ch) { /* User-visible flags. */ case 'K': #ifdef KERBEROS |