state: make type check error verbose
Wrong type let state probe fail with ENOENT.

Signed-off-by: Jan Remmet <j.remmet@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 39c858e commit 2936579c604b432f1a1f99690944c7d74af916d3
@Jan Remmet Jan Remmet authored on 20 Nov 2015
Sascha Hauer committed on 23 Nov 2015
Showing 1 changed file
View
common/state.c