]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
process-util: unify the hex value format a bit 31230/head
authorFrantisek Sumsal <frantisek@sumsal.cz>
Wed, 7 Feb 2024 18:12:22 +0000 (19:12 +0100)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Wed, 7 Feb 2024 18:29:53 +0000 (19:29 +0100)
And fix the man page reference as well.

src/basic/process-util.h

index 7b2c6cd679a15b4032a57b80e9dad5613cddcfb3..9ca67533349775794aa361c7cb65a54b22bc556d 100644 (file)
@@ -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