summaryrefslogtreecommitdiffstats
path: root/libexec/getNAME/getNAME.c
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/getNAME/getNAME.c')
-rw-r--r--libexec/getNAME/getNAME.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/getNAME/getNAME.c b/libexec/getNAME/getNAME.c
index f7f29bc..2961ecf 100644
--- a/libexec/getNAME/getNAME.c
+++ b/libexec/getNAME/getNAME.c
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: getNAME.c,v 1.4 1997/02/22 14:21:35 peter Exp $
*
*/
@@ -73,7 +73,7 @@ main(argc, argv)
extern int optind;
int ch;
- while ((ch = getopt(argc, argv, "itw")) != EOF)
+ while ((ch = getopt(argc, argv, "itw")) != -1)
switch(ch) {
case 'i':
intro = 1;
OpenPOWER on IntegriCloud