summaryrefslogtreecommitdiff
path: root/src/shutdown/shutdown.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2019-05-16 22:20:07 +0300
committerAdrian Bunk <bunk@stusta.de>2019-05-17 09:39:46 +0300
commit8a8e84d297551793a055b6823d8c437b42c42572 (patch)
tree5d407fef603e53292ce0f1c4626e4ca243699b93 /src/shutdown/shutdown.c
parent56fb30d93e96d7f983af0cb4dff9155da91dd671 (diff)
downloadsystemd-8a8e84d297551793a055b6823d8c437b42c42572.tar.gz
Replace the legacy ULONG_LONG_MAX with the C99 ULLONG_MAX
Diffstat (limited to 'src/shutdown/shutdown.c')
-rw-r--r--src/shutdown/shutdown.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shutdown/shutdown.c b/src/shutdown/shutdown.c
index 35b2c2aa46..9623fe9ea2 100644
--- a/src/shutdown/shutdown.c
+++ b/src/shutdown/shutdown.c
@@ -212,7 +212,7 @@ static int sync_making_progress(unsigned long long *prev_dirty) {
}
static void sync_with_progress(void) {
- unsigned long long dirty = ULONG_LONG_MAX;
+ unsigned long long dirty = ULLONG_MAX;
unsigned checks;
pid_t pid;
int r;