summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>1999-12-08 11:11:40 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>1999-12-08 11:11:40 +0000
commit882f32c16907cc9b0cd52560cb85f7acc9126e86 (patch)
tree581e2eeebada897c94ee69cc815c8410720b6dbc
parent6d6fd92936c17efcf5e8cb48fda9184f1249ca0f (diff)
Notes
-rw-r--r--lib/libc/stdtime/strptime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdtime/strptime.c b/lib/libc/stdtime/strptime.c
index 40ce9d9a6227..7570381a4f21 100644
--- a/lib/libc/stdtime/strptime.c
+++ b/lib/libc/stdtime/strptime.c
@@ -258,7 +258,7 @@ label:
if (c == 'H' || c == 'k') {
if (i > 23)
return 0;
- } else if (i > 11)
+ } else if (i > 12)
return 0;
tm->tm_hour = i;