summaryrefslogtreecommitdiff
path: root/src/firstboot
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-03-05 17:51:34 +0100
committerGitHub <noreply@github.com>2021-03-05 17:51:34 +0100
commit63dc82d378e1cfda8f560e8da9aa2df549c2b026 (patch)
treeb23222bcd0aefdb8851184cebd74e4801f1eb50c /src/firstboot
parent3ee0cf339bf82f39eaf094ad5ac42b844a9879e1 (diff)
parent4e5cbc4b17c1bb2a51919bd22aaa2afd3fbac1d2 (diff)
downloadsystemd-63dc82d378e1cfda8f560e8da9aa2df549c2b026.tar.gz
Merge pull request #18852 from yuwata/tree-wide-use-UINT64_MAX
tree-wide: use UINT64_MAX or friends
Diffstat (limited to 'src/firstboot')
-rw-r--r--src/firstboot/firstboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firstboot/firstboot.c b/src/firstboot/firstboot.c
index 8cd5e28532..8e3028717e 100644
--- a/src/firstboot/firstboot.c
+++ b/src/firstboot/firstboot.c
@@ -771,7 +771,7 @@ static int write_root_shadow(const char *shadow_path, const char *hashed_passwor
.sp_warn = -1,
.sp_inact = -1,
.sp_expire = -1,
- .sp_flag = (unsigned long) -1, /* this appears to be what everybody does ... */
+ .sp_flag = ULONG_MAX, /* this appears to be what everybody does ... */
};
if (errno != ENOENT)