X-Git-Url: http://git.pk910.de/?p=srvx.git;a=blobdiff_plain;f=src%2Fmain-common.c;h=1c8d06212aa4e5d6f2c3298d13bb543fae32e4f3;hp=2e4571005f4249d5e1ccf346de40cb024e08efae;hb=4a2c9aa9ab119a212d78c6a3a73261de56800251;hpb=007cc230a68daa6785f28a979e67ad9e67b1c87a diff --git a/src/main-common.c b/src/main-common.c index 2e45710..1c8d062 100644 --- a/src/main-common.c +++ b/src/main-common.c @@ -1,6 +1,8 @@ extern FILE *replay_file; -time_t boot_time, burst_begin, now; +unsigned long boot_time; +unsigned long burst_begin; +unsigned long now; unsigned long burst_length; struct log_type *MAIN_LOG; @@ -59,8 +61,8 @@ static const struct message_entry msgtab[] = { { "MSG_DB_UNKNOWN", "I do not know of a database named %s." }, { "MSG_DB_IS_MONDO", "Database %s is in the \"mondo\" database and cannot be written separately." }, { "MSG_DB_WRITE_ERROR", "Error while writing database %s." }, - { "MSG_DB_WROTE_DB", "Wrote database %s (in "FMT_TIME_T".%06lu seconds)." }, - { "MSG_DB_WROTE_ALL", "Wrote all databases (in "FMT_TIME_T".%06lu seconds)." }, + { "MSG_DB_WROTE_DB", "Wrote database %s (in %lu.%06lu seconds)." }, + { "MSG_DB_WROTE_ALL", "Wrote all databases (in %lu.%06lu seconds)." }, { "MSG_AND", "and" }, { "MSG_0_SECONDS", "0 seconds" }, { "MSG_YEAR", "year" },