]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/coredump/test-coredump-vacuum.c
tree-wide: use UINT64_MAX or friends
[thirdparty/systemd.git] / src / coredump / test-coredump-vacuum.c
index 3e2538d626d1e912f006108af2308ccc47e339f3..840884d961220a631f5c142e8f663221802eb2cc 100644 (file)
@@ -1,9 +1,4 @@
-/* SPDX-License-Identifier: LGPL-2.1+ */
-/***
-  This file is part of systemd.
-
-  Copyright 2012 Zbigniew JÄ™drzejewski-Szmek
-***/
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 
 #include <stdlib.h>
 
@@ -11,7 +6,7 @@
 
 int main(int argc, char *argv[]) {
 
-        if (coredump_vacuum(-1, (uint64_t) -1, 70 * 1024) < 0)
+        if (coredump_vacuum(-1, UINT64_MAX, 70 * 1024) < 0)
                 return EXIT_FAILURE;
 
         return EXIT_SUCCESS;