lib/ftm: style fixes