diff options
author | Steven Hiscocks <steven@hiscocks.me.uk> | 2013-02-16 18:23:24 +0000 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-02-22 16:57:44 +0100 |
commit | a49f4d17bfc50c5864b992e2410a41f96286afc1 (patch) | |
tree | 8a142fe0c93b86639d85d72d3d8ff566d813138e /src/python-systemd/_reader.c | |
parent | d2dd0265b5140ce849cfc3821ad595df2d4c9eb7 (diff) |
systemd-python: correct data_threshold error return value
Diffstat (limited to 'src/python-systemd/_reader.c')
-rw-r--r-- | src/python-systemd/_reader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python-systemd/_reader.c b/src/python-systemd/_reader.c index 9d7ce2da27..d2f738b9c7 100644 --- a/src/python-systemd/_reader.c +++ b/src/python-systemd/_reader.c @@ -688,7 +688,7 @@ Journal_set_data_threshold(Journal *self, PyObject *value, void *closure) if (r < 0) { errno = -r; PyErr_SetFromErrno(PyExc_OSError); - return NULL; + return -1; } return 0; } |