[PATCH v6 21/27] util: fix interleaving of error prefixes