hostmot2: fix compilation warning

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>