summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-12-21 18:57:18 -0500
committerUlrich Drepper <drepper@gmail.com>2011-12-21 18:57:18 -0500
commit8fa26d571d4b87a1c7a7f19f1365f7e5d2995933 (patch)
tree4b14763b344d9e867d996457f93ba78b37a739e7 /time
parentee190f67cc00b958a667af75dc68f3fc21611c9f (diff)
downloadglibc-8fa26d571d4b87a1c7a7f19f1365f7e5d2995933.tar.gz
Fix one typo
Diffstat (limited to 'time')
-rw-r--r--time/tzfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/time/tzfile.c b/time/tzfile.c
index 402389c9f3..a8c1c0e4c8 100644
--- a/time/tzfile.c
+++ b/time/tzfile.c
@@ -278,7 +278,7 @@ __tzfile_read (const char *file, size_t extra, char **extrap)
if (__builtin_expect (tzspec_len < num_isstd, 0))
goto lose;
tzspec_len -= num_isstd;
- if (__builtin_expect (tzspec == 0 || tzspec_len - 1 < num_isgmt, 0))
+ if (__builtin_expect (tzspec_len == 0 || tzspec_len - 1 < num_isgmt, 0))
goto lose;
tzspec_len -= num_isgmt + 1;
if (__builtin_expect (SIZE_MAX - total_size < tzspec_len, 0))