Potential fix for code scanning alert no. 22: Wrong type of arguments to formatting function

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
Jean-François DEL NEROandCopilot Autofix powered by AI authored and GitHub committed 2026-10-11 22:37:59 +02:00
1 parent ef8e491a11
commit 0ed3232a6b
1 file changed
+1 -1
@@ -243,7 +243,7 @@ void printDev(struct Device* dev)
printf("???"); break;
}
printf(". Cylinders = %ld, Heads = %ld, Sectors = %ld",dev->cylinders,dev->heads,dev->sectors);
printf(". Cylinders = %ld, Heads = %d, Sectors = %ld",dev->cylinders,dev->heads,dev->sectors);
printf(". Volumes = %d\n",dev->nVol);
}