summaryrefslogtreecommitdiff
path: root/main/pbx.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/pbx.c')
-rw-r--r--main/pbx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/pbx.c b/main/pbx.c
index c8421bd83..faddc4774 100644
--- a/main/pbx.c
+++ b/main/pbx.c
@@ -3632,7 +3632,7 @@ const char *ast_str_retrieve_variable(struct ast_str **str, ssize_t maxlen, stru
}
if (s == &not_found) { /* look for more */
if (!strcmp(var, "EPOCH")) {
- ast_str_set(str, maxlen, "%u", (int) time(NULL));
+ ast_str_set(str, maxlen, "%d", (int) time(NULL));
s = ast_str_buffer(*str);
} else if (!strcmp(var, "SYSTEMNAME")) {
s = ast_config_AST_SYSTEM_NAME;