diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-02-13 14:45:51 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-02-13 14:45:51 +0100 |
commit | 955d98c9c1104d469c2989dbfb58f58ee6fe9bdc (patch) | |
tree | 6964487e69bfefbbb08b0de140c67c6f2a00d791 /src/shared/time-dst.c | |
parent | 7e2270246b0906675c8f34bc278b1608b969e65c (diff) |
everywhere: make use of new0() and macro() macros, and stop using perror()
Diffstat (limited to 'src/shared/time-dst.c')
-rw-r--r-- | src/shared/time-dst.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/time-dst.c b/src/shared/time-dst.c index 3950a882bf..65e2998c98 100644 --- a/src/shared/time-dst.c +++ b/src/shared/time-dst.c @@ -183,7 +183,7 @@ read_again: return -EINVAL; } - transitions = (time_t *)calloc(total_size + tzspec_len, 1); + transitions = malloc0(total_size + tzspec_len); if (transitions == NULL) return -EINVAL; |