diff options
| author | Warner Losh <imp@FreeBSD.org> | 1997-03-28 15:24:41 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 1997-03-28 15:24:41 +0000 |
| commit | 93ef08af3ef1a9fb7a3af6b7212d3ca094e9aba6 (patch) | |
| tree | 27b535c748fe2bf5a45a09dca51479595187c73f /bin/mv | |
| parent | caccaa9b2a645d1b9261aff743dfc96f05927071 (diff) | |
Notes
Diffstat (limited to 'bin/mv')
| -rw-r--r-- | bin/mv/mv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/mv/mv.c b/bin/mv/mv.c index aeddd9c567697..ea6db6d865017 100644 --- a/bin/mv/mv.c +++ b/bin/mv/mv.c @@ -33,7 +33,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: mv.c,v 1.11 1997/02/22 14:04:12 peter Exp $ + * $Id: mv.c,v 1.12 1997/03/08 16:05:44 guido Exp $ */ #ifndef lint @@ -79,7 +79,7 @@ main(argc, argv) int ch; char path[MAXPATHLEN + 1]; - while ((ch = getopt(argc, argv, "fi")) != EOF) + while ((ch = getopt(argc, argv, "fi")) != -1) switch (ch) { case 'i': iflg = 1; |
