sdlog2: code style fixes broke compilation