From: Frantisek Sumsal Date: Wed, 7 Feb 2024 18:12:22 +0000 (+0100) Subject: process-util: unify the hex value format a bit X-Git-Tag: v256-rc1~925^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F31230%2Fhead;p=thirdparty%2Fsystemd.git process-util: unify the hex value format a bit And fix the man page reference as well. --- 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