]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
journal: don't talk about -1 in context of unsigned values 22857/head
authorLennart Poettering <lennart@poettering.net>
Thu, 24 Mar 2022 13:05:45 +0000 (14:05 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 25 Mar 2022 08:59:09 +0000 (09:59 +0100)
src/libsystemd/sd-journal/journal-file.h

index 7a2c5cdcbeed1026014b6aa1857506d830754d2d..cc2f41f634bf1e191e349f15e0be38d02e813d9c 100644 (file)
@@ -18,7 +18,7 @@
 #include "time-util.h"
 
 typedef struct JournalMetrics {
-        /* For all these: -1 means "pick automatically", and 0 means "no limit enforced" */
+        /* For all these: UINT64_MAX means "pick automatically", and 0 means "no limit enforced" */
         uint64_t max_size;     /* how large journal files grow at max */
         uint64_t min_size;     /* how large journal files grow at least */
         uint64_t max_use;      /* how much disk space to use in total at max, keep_free permitting */