From 14ce9b4ed8c8f05037611d68185c2db5367b3e42 Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Wed, 7 Feb 2024 19:12:22 +0100 Subject: [PATCH] process-util: unify the hex value format a bit And fix the man page reference as well. --- src/basic/process-util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/basic/process-util.h b/src/basic/process-util.h index 7b2c6cd679a..9ca67533349 100644 --- a/src/basic/process-util.h +++ b/src/basic/process-util.h @@ -101,10 +101,10 @@ bool is_main_thread(void); bool oom_score_adjust_is_valid(int oa); #ifndef PERSONALITY_INVALID -/* personality(7) documents that 0xffffffffUL is used for querying the +/* personality(2) documents that 0xFFFFFFFFUL is used for querying the * current personality, hence let's use that here as error * indicator. */ -#define PERSONALITY_INVALID 0xffffffffLU +#define PERSONALITY_INVALID 0xFFFFFFFFUL #endif /* The personality() syscall returns a 32-bit value where the top three bytes are reserved for flags that -- 2.47.3