fix an obvious bug in checking the return value of open()
fix an obvious bug in checking the return value of open()

git-svn-id: 97ee0374337b904e4860f9ce78362f550003d14d@11638 db81c003-b5ea-0310-aa99-ed7f6e1db739

android-808/libdsme,android-808/libdsme,spiiroin/libdsme,spiiroin/libdsme