Avoid some warn_unused_result warning
authorpixdamix <pixdamix@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Tue, 17 Nov 2009 11:17:42 +0000 (11:17 +0000)
committerpixdamix <pixdamix@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Tue, 17 Nov 2009 11:17:42 +0000 (11:17 +0000)
commit98acf192dfcde709aeee5eb8cbaea806e84a6d42
tree00611674d7c85f7c1b985939c6b89a08e3bd8629
parent9020bb63c0005f68973b6d21290e7808c63ed487
Avoid some warn_unused_result warning

lockf maybe defined with warn_unused_result. Check the return
value to disable the warning (And add an error message by the way)

git-svn-id: http://opkg.googlecode.com/svn/trunk@330 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
libopkg/opkg_conf.c