examples/flow_classify: fix fseek error handling
authorBernard Iremonger <bernard.iremonger@intel.com>
Wed, 1 Nov 2017 12:10:29 +0000 (12:10 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 7 Nov 2017 09:13:44 +0000 (09:13 +0000)
commitc044ffaa37fb77de36b26188ba6e8f63ce00cc7c
treeb6445fa203c04b645bb56aa27662551c17ea65bf
parent01ac23460c36927e019473e71b582223ad6b79c5
examples/flow_classify: fix fseek error handling

Check return value of fseek and exit if non zero.

Coverity issue: 143435
Fixes: bab16ddaf2c1 ("examples/flow_classify: add sample application")

Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
Acked-by: Jasvinder Singh <jasvinder.singh@intel.com>
examples/flow_classify/flow_classify.c