summaryrefslogtreecommitdiff
path: root/lib/sgetspent.c
diff options
context:
space:
mode:
authorBalint Reczey <balint@balintreczey.hu>2022-08-20 18:17:29 +0200
committerBalint Reczey <balint@balintreczey.hu>2022-08-20 18:17:29 +0200
commit69ca70f20204c63dca3ae4f85dd9a37188dcfc0b (patch)
treefd3a6ed4ed4551b63d0f9ed74690c8fbcaf2f7df /lib/sgetspent.c
parent8d8547f65fc0474fa335d04201ee9c2ccb9aa773 (diff)
parent675b462b64b213647d0f5c56b1e8440be5890c8a (diff)
downloadshadow-69ca70f20204c63dca3ae4f85dd9a37188dcfc0b.tar.gz
Update upstream source from tag 'upstream/4.12.2+dfsg1'
Update to upstream version '4.12.2+dfsg1' with Debian dir 52044f35b7f4073e1929e253a646847ef319cac4
Diffstat (limited to 'lib/sgetspent.c')
-rw-r--r--lib/sgetspent.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/sgetspent.c b/lib/sgetspent.c
index a35b6759..cbadb7e6 100644
--- a/lib/sgetspent.c
+++ b/lib/sgetspent.c
@@ -171,8 +171,7 @@ struct spwd *sgetspent (const char *string)
if (fields[8][0] == '\0') {
spwd.sp_flag = SHADOW_SP_FLAG_UNSET;
- } else if (getlong (fields[8], &spwd.sp_flag) == 0) {
- /* FIXME: add a getulong function */
+ } else if (getulong (fields[8], &spwd.sp_flag) == 0) {
return 0;
}