mirror of
https://github.com/systemd/systemd.git
synced 2024-11-02 19:21:53 +03:00
2d5c93c7af
That hashmap_move_one() currently cannot fail with -ENOMEM is an implementation detail, which is not possible to guarantee in general. Hashmap implementations based on anything else than chaining of individual entries may have to allocate. hashmap_move_one will not fail with -ENOMEM if a proper reservation has been made beforehand. Use reservations in install.c. In cgtop.c simply propagate the error instead of asserting. |
||
---|---|---|
.. | ||
cgtop.c | ||
Makefile |