diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-03-03 05:07:10 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-03-04 23:10:13 +0100 |
commit | f5fbe71d956957ca7ceb6777aed05a416fc83a43 (patch) | |
tree | 67358d417604030867a979f216bbb79939a37844 /src/journal-remote/journal-upload-journal.c | |
parent | table: drop last SIZE_MAX from table_set_sort() and table_set_display() (diff) | |
download | systemd-f5fbe71d956957ca7ceb6777aed05a416fc83a43.tar.xz systemd-f5fbe71d956957ca7ceb6777aed05a416fc83a43.zip |
tree-wide: use UINT64_MAX or friends
Diffstat (limited to 'src/journal-remote/journal-upload-journal.c')
-rw-r--r-- | src/journal-remote/journal-upload-journal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal-remote/journal-upload-journal.c b/src/journal-remote/journal-upload-journal.c index 3296c2268e..f23d5cf8b9 100644 --- a/src/journal-remote/journal-upload-journal.c +++ b/src/journal-remote/journal-upload-journal.c @@ -399,7 +399,7 @@ int open_journal_for_upload(Uploader *u, return log_error_errno(r, "Failed to register input event: %m"); log_debug("Listening for journal events on fd:%d, timeout %d", - fd, u->timeout == (uint64_t) -1 ? -1 : (int) u->timeout); + fd, u->timeout == UINT64_MAX ? -1 : (int) u->timeout); } else log_debug("Not listening for journal events."); |