summaryrefslogtreecommitdiff
path: root/src/libsystemd-terminal
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2014-12-16 16:14:48 +0100
committerDavid Herrmann <dh.herrmann@gmail.com>2015-03-11 12:32:48 +0100
commit84c3561c58dd992b339afe5bb4c41971a2ebc486 (patch)
tree5570772c3787eeea66d89008279984450562e979 /src/libsystemd-terminal
parentf4cf2e5b2f19d6dadb8c046dc545d222280ffafb (diff)
console: fix error-code inversion
The error-code propagated via sysview is always negative. Avoid multiplying by -1 before returning it. Otherwise, we will return >0 instead of <0, which will not be detected as error by sysview-core.
Diffstat (limited to 'src/libsystemd-terminal')
0 files changed, 0 insertions, 0 deletions