diff options
| author | Warner Losh <imp@FreeBSD.org> | 1997-03-28 15:24:41 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 1997-03-28 15:24:41 +0000 |
| commit | 93ef08af3ef1a9fb7a3af6b7212d3ca094e9aba6 (patch) | |
| tree | 27b535c748fe2bf5a45a09dca51479595187c73f /bin/date/date.c | |
| parent | caccaa9b2a645d1b9261aff743dfc96f05927071 (diff) | |
Notes
Diffstat (limited to 'bin/date/date.c')
| -rw-r--r-- | bin/date/date.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/date/date.c b/bin/date/date.c index 815a304a5ca0..4d7e74e0848b 100644 --- a/bin/date/date.c +++ b/bin/date/date.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: date.c,v 1.10 1997/02/22 14:02:33 peter Exp $ */ #ifndef lint @@ -84,7 +84,7 @@ main(argc, argv) tz.tz_dsttime = tz.tz_minuteswest = 0; rflag = 0; set_timezone = 0; - while ((ch = getopt(argc, argv, "d:nr:ut:")) != EOF) + while ((ch = getopt(argc, argv, "d:nr:ut:")) != -1) switch((char)ch) { case 'd': /* daylight savings time */ tz.tz_dsttime = strtol(optarg, &endptr, 10) ? 1 : 0; |
