diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2016-05-03 21:24:12 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2016-05-05 23:55:20 +0200 |
commit | 673d4f745322d6d9ca274697148267114058beec (patch) | |
tree | 45a0c928414006cb5f6bf57cf3427059ad1aeb10 /lib/log | |
parent | ed9162cd882426109fba14413ff2840edfd99341 (diff) | |
download | lvm2-673d4f745322d6d9ca274697148267114058beec.tar.gz |
cleanup: use unsigned with EPOCH printf format
Diffstat (limited to 'lib/log')
-rw-r--r-- | lib/log/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/log/log.c b/lib/log/log.c index d939b9daf..7b0026f22 100644 --- a/lib/log/log.c +++ b/lib/log/log.c @@ -90,7 +90,7 @@ void init_log_file(const char *log_file, int append) log_warn("WARNING: Cannot parse content of %s.", statfile); } else { if (dm_snprintf(_log_file_path, sizeof(_log_file_path), - "%s_%s_%d_%lld", log_file, env, pid, starttime) < 0) { + "%s_%s_%d_%llu", log_file, env, pid, starttime) < 0) { log_warn("WARNING: Debug log file path is too long for epoch."); _log_file_path[0] = '\0'; } else { |