diff options
author | Thomas Huehn <thomas@net.t-labs.tu-berlin.de> | 2013-07-05 12:04:14 +0200 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-07-08 11:00:36 +0200 |
commit | cac289316bed4282f798dbe710398e6f53f66f1f (patch) | |
tree | 642f58f05da8db7634f0e6c09f08b7e6d454e174 /.gitignore | |
parent | 3283d681f9da65b500ad0cb3d4550cb840ed481a (diff) | |
download | unitd-cac289316bed4282f798dbe710398e6f53f66f1f.tar unitd-cac289316bed4282f798dbe710398e6f53f66f1f.zip |
bugfix of error handling while open()
The normal return value from open() is a non-negative integer.
In the case of an error, a value of -1 is returned instead.
Signed-off-by: Thomas Huehn <thomas@net.t-labs.tu-berlin.de>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions