From 72f501d07a02028a51c15614f7ac4482ce8345bd Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Tue, 14 Mar 2023 09:25:04 -0600 Subject: [PATCH] secure_getenv: Add () around return values Style only change, no functional change intended. Sponsored by: Netflix --- lib/libc/stdlib/getenv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libc/stdlib/getenv.c b/lib/libc/stdlib/getenv.c index 86a846d58c69..001b9669bda9 100644 --- a/lib/libc/stdlib/getenv.c +++ b/lib/libc/stdlib/getenv.c @@ -455,8 +455,8 @@ char * secure_getenv(const char *name) { if (issetugid()) - return NULL; - return getenv(name); + return (NULL); + return (getenv(name)); } /*