diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-03-21 23:24:30 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-03-22 15:40:37 -0400 |
commit | 48deb058b62b7245d59344134a126a3d5bdb5b58 (patch) | |
tree | da4091e32541ba73cea938a9625682378668bc00 /src/initctl | |
parent | 6fe391c56d3f4231576ccc9d62d2000f37640a92 (diff) |
util: workaround two gcc warnings
gcc does not know that errno cannot be negative, and warns
about unitialized variables later on. Kill the warnings by
returning -errno only after checking that errno is positive.
Diffstat (limited to 'src/initctl')
0 files changed, 0 insertions, 0 deletions