From 3508f7dcccb1f6e2c224f9e29b3b9943ed3df77c Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Mon, 20 Apr 2009 12:17:38 +0000 Subject: [PATCH] * src/login.c: We do not need to keep the old umask. Discard the umask() return value. --- src/login.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/login.c b/src/login.c index 843197d4..503f0527 100644 --- a/src/login.c +++ b/src/login.c @@ -553,7 +553,7 @@ int main (int argc, char **argv) setup_tty (); #ifndef USE_PAM - umask (getdef_num ("UMASK", GETDEF_DEFAULT_UMASK)); + (void) umask (getdef_num ("UMASK", GETDEF_DEFAULT_UMASK)); { /* -- 2.40.0