From: nekral-guest Date: Mon, 20 Apr 2009 12:17:38 +0000 (+0000) Subject: * src/login.c: We do not need to keep the old umask. Discard the X-Git-Tag: 4.1.4~162 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3508f7dcccb1f6e2c224f9e29b3b9943ed3df77c;p=thirdparty%2Fshadow.git * src/login.c: We do not need to keep the old umask. Discard the umask() return value. --- diff --git a/src/login.c b/src/login.c index 843197d44..503f05270 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)); { /*