search for: do_verbose

Displaying 2 results from an estimated 2 matches for "do_verbose".

2014 Nov 22
3
Use z size specifier for printf-ing size_t variable
...2)) / 2, cm->messages[MSG_PASSPROMPT], PASSWD_ROW + 1, PASSWD_MARGIN + 3); diff --git a/com32/modules/cptime.c b/com32/modules/cptime.c index 0f5ffe6..315b9f9 100644 --- a/com32/modules/cptime.c +++ b/com32/modules/cptime.c @@ -216,7 +216,7 @@ int time_copy(char *fn, char do_simple, char do_verbose, size_t ibufsz, off_t ma print_cp_result_long(fn, bcnt, bc, ec, ibufsz, do_verbose); } if (do_verbose) - printf(" numrd %d bcnt %d bufsz %d i %d\n", numrd, bcnt, bufsz, i); + printf(" numrd %d bcnt %zd bufsz %zd i %d\n", numrd, bcnt, bufsz, i); } return rv;...
2015 Jan 25
0
Use z size specifier for printf-ing size_t variable
...es[MSG_PASSPROMPT], PASSWD_ROW + 1, PASSWD_MARGIN + 3); > > diff --git a/com32/modules/cptime.c b/com32/modules/cptime.c > index 0f5ffe6..315b9f9 100644 > --- a/com32/modules/cptime.c > +++ b/com32/modules/cptime.c > @@ -216,7 +216,7 @@ int time_copy(char *fn, char do_simple, char do_verbose, size_t ibufsz, off_t ma > print_cp_result_long(fn, bcnt, bc, ec, ibufsz, do_verbose); > } > if (do_verbose) > - printf(" numrd %d bcnt %d bufsz %d i %d\n", numrd, bcnt, bufsz, i); > +...