summaryrefslogtreecommitdiff
path: root/src/udev
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-03-21 23:24:30 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-03-22 15:40:37 -0400
commit48deb058b62b7245d59344134a126a3d5bdb5b58 (patch)
treeda4091e32541ba73cea938a9625682378668bc00 /src/udev
parent6fe391c56d3f4231576ccc9d62d2000f37640a92 (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/udev')
0 files changed, 0 insertions, 0 deletions