diff --git a/mtools/util/logline.py b/mtools/util/logline.py
index <HASH>..<HASH> 100644
--- a/mtools/util/logline.py
+++ b/mtools/util/logline.py
@@ -122,7 +122,7 @@ class LogLine(object):
                 except ValueError:
                     self._duration = None
             elif "flushing" in self.line_str:
-                matchobj = re.search(r'flushing mmaps took (\d+)ms for', self.line_str)
+                matchobj = re.search(r'flushing mmaps took (\d+)ms', self.line_str)
                 if matchobj:
                     self._duration = int(matchobj.group(1))
fixed a bug where the parsing of "flushing mmaps" durations wasn't working.