summaryrefslogtreecommitdiffstats
path: root/bin/sleep
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sleep')
-rw-r--r--bin/sleep/sleep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/sleep/sleep.c b/bin/sleep/sleep.c
index 892c520..d11dd07 100644
--- a/bin/sleep/sleep.c
+++ b/bin/sleep/sleep.c
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: sleep.c,v 1.5 1997/02/22 14:05:45 peter Exp $
*/
#ifndef lint
@@ -56,7 +56,7 @@ main(argc, argv)
{
int ch, secs;
- while ((ch = getopt(argc, argv, "")) != EOF)
+ while ((ch = getopt(argc, argv, "")) != -1)
switch(ch) {
case '?':
default:
OpenPOWER on IntegriCloud