summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-01-12 17:19:51 -0500
committerSven Eden <yamakuzure@gmx.net>2017-05-17 15:22:15 +0200
commit039c931bcd7a6aaf7fb7a8b48b41e2bfb0e6f485 (patch)
tree142f7a1f1b6aad4725c4e924fb537bf77c4de445 /src/Makefile
parent0281ee40d079fb3206a6c9ae9ed52566f64e9803 (diff)
basic,bus-error: return negative error from errno_from_name
errno_from_name used an unusual return convention where 0 meant "not found". This tripped up config_parse_syscall_errno(), which would treat that as success. Return -EINVAL instead, and adjust bus_error_name_to_errno() for the new convention. Also remove a goto which was used as a simple if and clean up surroudning code a bit.
Diffstat (limited to 'src/Makefile')
0 files changed, 0 insertions, 0 deletions