diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2015-11-05 13:44:06 +0100 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2015-11-05 13:44:06 +0100 |
commit | c3753458fc30f35b7c2d2c5d5873198cd18131d8 (patch) | |
tree | d3edc8bd9489567ea3782b23f4587efaea409463 /src/journal/test-journal-syslog.c | |
parent | 77ba8233f70719ddd53373f98c53c5cfd5ff13c7 (diff) |
journal: fix incorrect errno reporting
pread() returns -1 on error and sets errno. Do not use the -1 as errno.
Diffstat (limited to 'src/journal/test-journal-syslog.c')
0 files changed, 0 insertions, 0 deletions