chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
architecture: apparently there is LE ppc now
[elogind.git]
/
src
/
shared
/
time-dst.c
diff --git
a/src/shared/time-dst.c
b/src/shared/time-dst.c
index 3950a882bf46b7600f77730452252902723653f5..65e2998c983a5f9bab9343b1b5cfe15c58b03a05 100644
(file)
--- 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;