hardlink: fix time_t=long assumptions
References: ce3355cc54
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
7e349033e0
commit
634636301e
|
@ -302,8 +302,8 @@ static void print_stats(void)
|
||||||
jlog(JLOG_SUMMARY, "%-15s %s", _("Saved:"), ssz);
|
jlog(JLOG_SUMMARY, "%-15s %s", _("Saved:"), ssz);
|
||||||
free(ssz);
|
free(ssz);
|
||||||
|
|
||||||
jlog(JLOG_SUMMARY, _("%-15s %ld.%06ld seconds"), _("Duration:"),
|
jlog(JLOG_SUMMARY, _("%-15s %"PRId64".%06"PRId64" seconds"), _("Duration:"),
|
||||||
(long)delta.tv_sec, (long)delta.tv_usec);
|
(int64_t)delta.tv_sec, (int64_t)delta.tv_usec);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue