summaryrefslogtreecommitdiff
path: root/bin/df
diff options
context:
space:
mode:
Diffstat (limited to 'bin/df')
-rw-r--r--bin/df/df.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/df/df.c b/bin/df/df.c
index f32dba304f43..122906c6f5b7 100644
--- a/bin/df/df.c
+++ b/bin/df/df.c
@@ -35,7 +35,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: df.c,v 1.13 1997/02/22 14:02:57 peter Exp $
+ * $Id: df.c,v 1.15 1997/03/13 17:41:37 bde Exp $
*/
#ifndef lint
@@ -85,7 +85,7 @@ main(argc, argv)
char *mntpt, **vfslist;
vfslist = NULL;
- while ((ch = getopt(argc, argv, "iknt:")) != EOF)
+ while ((ch = getopt(argc, argv, "iknt:")) != -1)
switch (ch) {
case 'i':
iflag = 1;