summaryrefslogtreecommitdiff
path: root/src/dbus.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-02-24 02:33:57 +0100
committerLennart Poettering <lennart@poettering.net>2011-02-24 02:33:57 +0100
commitccc80078fe47395ffe0dd48cb6c81551d991ef4b (patch)
treebbb42e44b4ed74b39f7be2e12053bea81cc0505e /src/dbus.c
parentaa2e2115873e102b8f6701f4211ddf7bec4c5e10 (diff)
general: unify error code we generate on timeout
Diffstat (limited to 'src/dbus.c')
-rw-r--r--src/dbus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dbus.c b/src/dbus.c
index d7b80ba01d..64988c7ccc 100644
--- a/src/dbus.c
+++ b/src/dbus.c
@@ -1361,6 +1361,7 @@ static const char *error_to_dbus(int error) {
return DBUS_ERROR_FILE_EXISTS;
case -ETIMEDOUT:
+ case -ETIME:
return DBUS_ERROR_TIMEOUT;
case -EIO: