chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df688b2
)
journal: properly determine cutoff max date
author
Lennart Poettering
<lennart@poettering.net>
Thu, 25 Oct 2012 23:07:41 +0000
(
01:07
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 25 Oct 2012 23:18:41 +0000
(
01:18
+0200)
src/journal/sd-journal.c
patch
|
blob
|
history
diff --git
a/src/journal/sd-journal.c
b/src/journal/sd-journal.c
index 09b0eb83797474c9fb1e3b5763abdaca3eef0e62..d5d2d78f1c30470389799028c3f7d4f8f62b79b8 100644
(file)
--- a/
src/journal/sd-journal.c
+++ b/
src/journal/sd-journal.c
@@
-2121,7
+2121,7
@@
_public_ int sd_journal_get_cutoff_realtime_usec(sd_journal *j, uint64_t *from,
if (from)
*from = MIN(fr, *from);
if (to)
- *to = M
IN
(t, *to);
+ *to = M
AX
(t, *to);
}
}
@@
-2160,7
+2160,7
@@
_public_ int sd_journal_get_cutoff_monotonic_usec(sd_journal *j, sd_id128_t boot
if (from)
*from = MIN(fr, *from);
if (to)
- *to = M
IN
(t, *to);
+ *to = M
AX
(t, *to);
}
}