mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-11 05:17:44 +03:00
sd-bus: drop redundant abs()
strerror_safe() internally applies abs().
This commit is contained in:
parent
72585a584d
commit
6272aef5ff
@ -581,7 +581,7 @@ const char *bus_error_message(const sd_bus_error *e, int error) {
|
||||
return e->message;
|
||||
}
|
||||
|
||||
return strerror_safe(abs(error));
|
||||
return strerror_safe(error);
|
||||
}
|
||||
|
||||
static bool map_ok(const sd_bus_error_map *map) {
|
||||
|
Loading…
Reference in New Issue
Block a user