]> git.ipfire.org Git - thirdparty/util-linux.git/commit
choom: fix negative adjust score usage
authorKarel Zak <kzak@redhat.com>
Mon, 10 Dec 2018 13:26:04 +0000 (14:26 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 10 Dec 2018 13:26:04 +0000 (14:26 +0100)
commitc455cdb30d212b6488d3e9f2f663fcc1f6ad267c
tree95093d9c30cc3e113fd3e27c035f12c4b2ee1d4c
parent88cd3f2256d02d9a102aa43df6f30b8d2c8865c5
choom: fix negative adjust score usage

It's really bad idea to use uint64_t (ul_path_write_u64(()) when write
signed number.

Addresses: https://github.com/karelzak/util-linux/issues/723
Signed-off-by: Karel Zak <kzak@redhat.com>
include/path.h
lib/path.c
sys-utils/choom.c