From 27c50136972f98a226c73f347e3a2ba9b7c93b06 Mon Sep 17 00:00:00 2001 From: Sean Date: Wed, 12 Mar 2014 23:18:46 -0700 Subject: [PATCH] ... --- fun/unixtime.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fun/unixtime.patch b/fun/unixtime.patch index 43428e9..ae6e719 100644 --- a/fun/unixtime.patch +++ b/fun/unixtime.patch @@ -35,7 +35,7 @@ - uint8_t s[MAX_STR_SIZE]; - strftime(s, MAX_STR_SIZE, "%Y-%m-%d[%H:%M:%S]", get_time()); - snprintf(ident, sizeof(ident), "%s", s); -+ snprintf(ident, sizeof(ident), "[%s]", (int)time(NULL)); ++ snprintf(ident, sizeof(ident), "[%d]", (int)time(NULL)); path_len += strlen(ident) + 1; }