summaryrefslogtreecommitdiff
path: root/src/basic/time-util.c
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-08-30 03:18:33 +0200
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-09-01 18:20:13 +0200
commit64d6c22905e94b02e760747c6c143dc9893083d9 (patch)
tree54722775e9dd947f4d6b0633e40dad00e1f476fb /src/basic/time-util.c
parent40ec276fdfc98f9fa7ed155b906235a79711066d (diff)
tree-wide: do not shadow the global var timezone
Diffstat (limited to 'src/basic/time-util.c')
-rw-r--r--src/basic/time-util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/basic/time-util.c b/src/basic/time-util.c
index afc6a6eb24..531931f6e1 100644
--- a/src/basic/time-util.c
+++ b/src/basic/time-util.c
@@ -1046,7 +1046,7 @@ clockid_t clock_boottime_or_monotonic(void) {
return clock;
}
-int get_timezone(char **timezone) {
+int get_timezone(char **tz) {
_cleanup_free_ char *t = NULL;
const char *e;
char *z;
@@ -1069,6 +1069,6 @@ int get_timezone(char **timezone) {
if (!z)
return -ENOMEM;
- *timezone = z;
+ *tz = z;
return 0;
}