diff options
Diffstat (limited to 'src/libsystemd-bus/bus-error.c')
-rw-r--r-- | src/libsystemd-bus/bus-error.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd-bus/bus-error.c b/src/libsystemd-bus/bus-error.c index 45dff80888..25eaf0eee4 100644 --- a/src/libsystemd-bus/bus-error.c +++ b/src/libsystemd-bus/bus-error.c @@ -42,7 +42,7 @@ static int bus_error_name_to_errno(const char *name) { if (!name) return EINVAL; - p = startswith(name, "Posix.Error."); + p = startswith(name, "System.Error."); if (p) { r = errno_from_name(p); if (r <= 0) @@ -198,7 +198,7 @@ static int errno_to_bus_error_name_new(int error, char **ret) { if (!name) return 0; - n = strappend("Posix.Error.", name); + n = strappend("System.Error.", name); if (!n) return -ENOMEM; |