utils: fix error open() handling
authorLubomir Rintel <lkundrak@v3.sk>
Thu, 21 Jan 2016 15:56:19 +0000 (16:56 +0100)
committerLubomir Rintel <lkundrak@v3.sk>
Thu, 21 Jan 2016 15:56:19 +0000 (16:56 +0100)
commite80346fff7b9262ea9abd8a2a8e976e7b41092de
tree81b73627b8ff10fa77688d382fb07b1a0dac18d7
parent88da21caa156b30cb1cf62a930770e60c89b86a8
utils: fix error open() handling

CID 59376 (#2-1 of 2): Argument cannot be negative (NEGATIVE_RETURNS)
negative_returns: urandom is passed to a parameter that cannot be negative.
src/NetworkManagerUtils.c