diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-03-03 13:07:10 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-03-05 07:10:13 +0900 |
commit | f5fbe71d956957ca7ceb6777aed05a416fc83a43 (patch) | |
tree | 67358d417604030867a979f216bbb79939a37844 /src/firstboot | |
parent | ef1e0b9a461c4baa12bdda47579c2c017209c3be (diff) | |
download | systemd-f5fbe71d956957ca7ceb6777aed05a416fc83a43.tar.gz |
tree-wide: use UINT64_MAX or friends
Diffstat (limited to 'src/firstboot')
-rw-r--r-- | src/firstboot/firstboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firstboot/firstboot.c b/src/firstboot/firstboot.c index c0e88e7915..feb682792d 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) |