Log: fix mistake in previous commit that was causing compile warnings