mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
flog: fix some codespell warnings
Brought to you by
codespell -w
(using codespell v2.1.0).
[v2: use "make indent" on the result]
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
parent
d355c3681a
commit
6eafe4ea7a
2 changed files with 21 additions and 22 deletions
|
|
@ -95,7 +95,7 @@ int flog_map_buf(int fdout)
|
|||
|
||||
/*
|
||||
* Two buffers are mmapped into memory. A new one is mapped when a first
|
||||
* one is completly filled.
|
||||
* one is completely filled.
|
||||
*/
|
||||
if (fbuf && (mbuf - fbuf < BUF_SIZE))
|
||||
return 0;
|
||||
|
|
|
|||
|
|
@ -129,31 +129,30 @@ int main(int argc, char *argv[])
|
|||
|
||||
return 0;
|
||||
usage:
|
||||
fprintf(stderr,
|
||||
"flog [--mode binary|dprintf] [--output stdout|stderr|filename] [--decode] [--iter number]\n"
|
||||
"\n"
|
||||
fprintf(stderr, "flog [--mode binary|dprintf] [--output stdout|stderr|filename] [--decode] [--iter number]\n"
|
||||
"\n"
|
||||
|
||||
"Examples:\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
"\n"
|
||||
|
||||
" - run 100000 iterations of instant message processing (immediate dprintf calls)\n"
|
||||
"\n"
|
||||
" flog -m dprintf -i 100000\n"
|
||||
"\n"
|
||||
" - run 100000 iterations of instant message processing (immediate dprintf calls)\n"
|
||||
"\n"
|
||||
" flog -m dprintf -i 100000\n"
|
||||
"\n"
|
||||
|
||||
" - run 100000 iterations in binary mode without processing (queue messages only)\n"
|
||||
"\n"
|
||||
" flog -i 100000\n"
|
||||
"\n"
|
||||
" - run 100000 iterations in binary mode without processing (queue messages only)\n"
|
||||
"\n"
|
||||
" flog -i 100000\n"
|
||||
"\n"
|
||||
|
||||
" - run 100000 iterations in binary mode with decoding after\n"
|
||||
"\n"
|
||||
" flog -i 100000 -d\n"
|
||||
"\n"
|
||||
" - run 100000 iterations in binary mode with decoding after\n"
|
||||
"\n"
|
||||
" flog -i 100000 -d\n"
|
||||
"\n"
|
||||
|
||||
" - run 100000 iterations in binary mode with decoding after, writting results into 'out' file\n"
|
||||
"\n"
|
||||
" flog -i 100000 -d -o out\n"
|
||||
"\n");
|
||||
" - run 100000 iterations in binary mode with decoding after, writing results into 'out' file\n"
|
||||
"\n"
|
||||
" flog -i 100000 -d -o out\n"
|
||||
"\n");
|
||||
return 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue