diff options
Diffstat (limited to 'bin/rmdir')
-rw-r--r-- | bin/rmdir/rmdir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/rmdir/rmdir.c b/bin/rmdir/rmdir.c index 9830835..8967292 100644 --- a/bin/rmdir/rmdir.c +++ b/bin/rmdir/rmdir.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: rmdir.c,v 1.5 1997/02/22 14:05:40 peter Exp $ */ #ifndef lint @@ -62,7 +62,7 @@ main(argc, argv) int pflag; pflag = 0; - while ((ch = getopt(argc, argv, "p")) != EOF) + while ((ch = getopt(argc, argv, "p")) != -1) switch(ch) { case 'p': pflag = 1; |