summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-11-23 01:36:54 +0100
committerLennart Poettering <lennart@poettering.net>2010-11-23 01:36:54 +0100
commitaeb70c8d60dd6e21dc3e2b20072f30c045d12261 (patch)
tree1c0fe36d45c27e41fafd244f99cce19906877b72 /src
parentcfcfd4aefe2141d324f51033057674d9f1171ef3 (diff)
downloadsystemd-aeb70c8d60dd6e21dc3e2b20072f30c045d12261.tar.gz
logger: fix error handling
Diffstat (limited to 'src')
-rw-r--r--src/logger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logger.c b/src/logger.c
index 9c3cb1abd7..32c57f8f82 100644
--- a/src/logger.c
+++ b/src/logger.c
@@ -318,7 +318,7 @@ static int stream_process(Stream *s, usec_t ts) {
return 0;
log_warning("Failed to read from stream: %m");
- return -1;
+ return -errno;
}