%l* -> %j*

This commit is contained in:
Vitaliy Filippov
2025-03-22 15:32:07 +03:00
parent 4eafb55b5c
commit f544c350ba
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ int main(int narg, char *args[])
return 1;
}
char osdname[16] = { 0 };
snprintf(osdname, 16, "osd%lu", config["osd_num"].uint64_value());
snprintf(osdname, 16, "osd%ju", config["osd_num"].uint64_value());
prctl(PR_SET_NAME, (unsigned long)osdname, 0, 0, 0);
signal(SIGINT, handle_sigint);
signal(SIGTERM, handle_sigint);