X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsd_journal_query_unique.xml;h=502a7e08c27036c4fb362edab5f3e72d8f866dd0;hp=b0e43dfeebbf269dc254c9e4186f00f507d8700d;hb=78a92a5a2306709e4587e332728a76901323ade9;hpb=0902aa1838ecf3b252ab0d02842ce4f9c1cab58d diff --git a/man/sd_journal_query_unique.xml b/man/sd_journal_query_unique.xml index b0e43dfee..502a7e08c 100644 --- a/man/sd_journal_query_unique.xml +++ b/man/sd_journal_query_unique.xml @@ -113,7 +113,9 @@ invocation of sd_journal_enumerate_unique(). Note that the data returned will be prefixed with the field - name and '='. + name and '='. Note that this call is subject to the + data field size threshold as controlled by + sd_journal_set_data_threshold(). sd_journal_restart_unique() resets the data enumeration index to the beginning of @@ -191,7 +193,7 @@ int main(int argc, char *argv[]) { return 1; } SD_JOURNAL_FOREACH_UNIQUE(j, d, l) - printf("%.*s\n", (int) l, d); + printf("%.*s\n", (int) l, (const char*) d); sd_journal_close(j); return 0; }