fix(log): add printf format attributes and fix format mismatches
This commit is contained in:
@@ -1967,7 +1967,7 @@ static int incremental_check(Client* client, File* file, const Config* config,
|
||||
send_status(client->file_descriptor, STATUS_ERROR);
|
||||
return -1;
|
||||
}
|
||||
log_debug_message(LOG_DEBUG_RECV, "recv: delta signature for %s (%d blocks)",
|
||||
log_debug_message(LOG_DEBUG_RECV, "recv: delta signature for %s (%u blocks)",
|
||||
file_wire_path(file), sig->block_count);
|
||||
*out_sig = sig;
|
||||
return 2;
|
||||
|
||||
+1
-1
@@ -165,7 +165,7 @@ void print_usage(void) {
|
||||
printf(" --no-delta, or --no-incremental)\n");
|
||||
printf(" --no-fuzzy Disable --fuzzy\n");
|
||||
printf(" -B <n>, --block-size <n>, --delta-block <n>\n");
|
||||
printf(" Delta block size in bytes (default: %d)\n", DELTA_BLOCK_SIZE_DEFAULT);
|
||||
printf(" Delta block size in bytes (default: %u)\n", DELTA_BLOCK_SIZE_DEFAULT);
|
||||
printf(" --delta-max <n> Max file size for delta transfer (default: %llu)\n",
|
||||
DELTA_MAX_FILE_SIZE);
|
||||
printf(" -j, --threads[=N] Enable the multithreaded scanner/loader/sender\n");
|
||||
|
||||
Reference in New Issue
Block a user