diff options
Diffstat (limited to 'src/shared/util.c')
-rw-r--r-- | src/shared/util.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/shared/util.c b/src/shared/util.c index 5f5cfcb011..34024bacc4 100644 --- a/src/shared/util.c +++ b/src/shared/util.c @@ -4837,10 +4837,7 @@ unsigned long personality_from_string(const char *p) { return PER_LINUX; #endif - /* personality(7) documents that 0xffffffffUL is used for - * querying the current personality, hence let's use that here - * as error indicator. */ - return 0xffffffffUL; + return PERSONALITY_INVALID; } const char* personality_to_string(unsigned long p) { |