[PATCH v4 17/23] util: fix interleaving of error prefixes