aboutsummaryrefslogtreecommitdiff
path: root/Linux-PAM/modules/pam_umask/pam_umask.c
diff options
context:
space:
mode:
authorSteve Langasek <steve.langasek@ubuntu.com>2019-01-03 15:43:05 -0800
committerSteve Langasek <steve.langasek@ubuntu.com>2019-01-03 15:44:43 -0800
commit9a4298687784e7812c8aeef6e0e97830febbf393 (patch)
tree45942549c91c2ae3cb6b58aa5df40b9e121f908a /Linux-PAM/modules/pam_umask/pam_umask.c
parentd5b06b67bbeeed7c05c0eb2e05d6a972ad050d1c (diff)
parent9bc383eeb9d9f5976645cb4c4850a8d36b2bd7da (diff)
downloadpam-9a4298687784e7812c8aeef6e0e97830febbf393.tar.gz
pam-9a4298687784e7812c8aeef6e0e97830febbf393.tar.bz2
pam-9a4298687784e7812c8aeef6e0e97830febbf393.zip
New upstream version 0.99.8.1
Diffstat (limited to 'Linux-PAM/modules/pam_umask/pam_umask.c')
-rw-r--r--Linux-PAM/modules/pam_umask/pam_umask.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Linux-PAM/modules/pam_umask/pam_umask.c b/Linux-PAM/modules/pam_umask/pam_umask.c
index fdeb3c51..eb88c1ac 100644
--- a/Linux-PAM/modules/pam_umask/pam_umask.c
+++ b/Linux-PAM/modules/pam_umask/pam_umask.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2006 Thorsten Kukuk <kukuk@thkukuk.de>
+ * Copyright (c) 2005, 2006, 2007 Thorsten Kukuk <kukuk@thkukuk.de>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -181,7 +181,7 @@ set_umask (const char *value)
mask = strtoul (value, &endptr, 8) & 0777;
if (((mask == 0) && (value_orig == endptr)) ||
- ((mask == ULONG_MAX) && (errno == ERANGE)))
+ ((mask == UINT_MAX) && (errno == ERANGE)))
return;
umask (mask);
return;