Skip to content
Snippets Groups Projects
Commit 9d0ae547 authored by Dmitry E. Oboukhov's avatar Dmitry E. Oboukhov
Browse files

compilation error: expects argument for snprintf

parent 2c80a82d
No related branches found
No related tags found
No related merge requests found
......@@ -108,7 +108,8 @@ int tc_verify_cmp(struct tc_spaces *s,
int tc_verify_process(struct tc_spaces *s, uint64_t lsn, char *snap_dir)
{
char path[1024];
snprintf(path, sizeof(path), "%s/%020lld.snap", snap_dir, lsn);
snprintf(path, sizeof(path), "%s/%020llu.snap", snap_dir,
(long long unsigned)lsn);
printf("(snapshot) %s\n", path);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment