linux: fix errors from logging commits