Actually make the 'amount' argument to racct_adjust_resource() signed,

as it was always supposed to be.

MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
trasz 2015-12-13 11:21:13 +00:00
parent 3430b87794
commit 6751d261c4

View File

@ -501,7 +501,7 @@ racct_destroy(struct racct **racct)
*/
static void
racct_adjust_resource(struct racct *racct, int resource,
uint64_t amount)
int64_t amount)
{
ASSERT_RACCT_ENABLED();