From 120d445b92033253b8466e8a52c45f6f2dfcf24c Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 30 Oct 2019 17:59:09 +0000 Subject: [PATCH] [Minor] Slightly improve log message --- src/libutil/map.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/libutil/map.c b/src/libutil/map.c index 6bcf8d081..441b408ba 100644 --- a/src/libutil/map.c +++ b/src/libutil/map.c @@ -1941,8 +1941,11 @@ rspamd_map_on_stat (struct ev_loop *loop, ev_stat *w, int revents) if (w->attr.st_nlink > 0) { if (w->attr.st_mtime > w->prev.st_mtime) { - msg_info_map ("old mtime is %t, new mtime is %t for map file %s", - w->prev.st_mtime, w->attr.st_mtime, w->path); + msg_info_map ("old mtime is %t (size = %Hz), " + "new mtime is %t (size = %Hz) for map file %s", + w->prev.st_mtime, (gsize)w->prev.st_size, + w->attr.st_mtime, (gsize)w->attr.st_size, + w->path); /* Fire need modify flag */ struct rspamd_map_backend *bk; -- 2.39.5