diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2019-10-23 17:52:22 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2019-10-23 17:52:22 +0000 |
commit | 3a1720af1d7f43edc5b214cde0be11bfb94d077e (patch) | |
tree | 029e0ff2d5e3c0eaf2405fd8e669555fdf5e1297 /lib/scudo/scudo_errors.cpp | |
parent | 8f3cadc28cb2bb9e8f9d69eeaaea1f57f2f7b2ab (diff) |
Notes
Diffstat (limited to 'lib/scudo/scudo_errors.cpp')
-rw-r--r-- | lib/scudo/scudo_errors.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/scudo/scudo_errors.cpp b/lib/scudo/scudo_errors.cpp index 34e57bf710160..4bea9ebc6ab05 100644 --- a/lib/scudo/scudo_errors.cpp +++ b/lib/scudo/scudo_errors.cpp @@ -39,9 +39,10 @@ void NORETURN reportAllocationAlignmentNotPowerOfTwo(uptr Alignment) { } void NORETURN reportInvalidPosixMemalignAlignment(uptr Alignment) { - dieWithMessage("invalid alignment requested in posix_memalign: %zd, alignment" + dieWithMessage( + "invalid alignment requested in posix_memalign: %zd, alignment" " must be a power of two and a multiple of sizeof(void *) == %zd\n", - Alignment, sizeof(void *)); // NOLINT + Alignment, sizeof(void *)); } void NORETURN reportInvalidAlignedAllocAlignment(uptr Size, uptr Alignment) { |