summaryrefslogtreecommitdiff
path: root/bin/rmdir/rmdir.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>1997-03-28 15:24:41 +0000
committerWarner Losh <imp@FreeBSD.org>1997-03-28 15:24:41 +0000
commit93ef08af3ef1a9fb7a3af6b7212d3ca094e9aba6 (patch)
tree27b535c748fe2bf5a45a09dca51479595187c73f /bin/rmdir/rmdir.c
parentcaccaa9b2a645d1b9261aff743dfc96f05927071 (diff)
downloadsrc-test2-93ef08af3ef1a9fb7a3af6b7212d3ca094e9aba6.tar.gz
src-test2-93ef08af3ef1a9fb7a3af6b7212d3ca094e9aba6.zip
Notes
Diffstat (limited to 'bin/rmdir/rmdir.c')
-rw-r--r--bin/rmdir/rmdir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/rmdir/rmdir.c b/bin/rmdir/rmdir.c
index 9830835fab5c..89672926b510 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;