diff options
Diffstat (limited to 'src/shared/logs-show.c')
-rw-r--r-- | src/shared/logs-show.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/logs-show.c b/src/shared/logs-show.c index a217c1e081..7c61c334e9 100644 --- a/src/shared/logs-show.c +++ b/src/shared/logs-show.c @@ -1323,7 +1323,7 @@ int show_journal( assert(mode >= 0); assert(mode < _OUTPUT_MODE_MAX); - if (how_many == (unsigned) -1) + if (how_many == UINT_MAX) need_seek = true; else { /* Seek to end */ |