Fix code errors

Signed-off-by: Lasse Bigum <l.bigum@samsung.com>