fix: printf: some potentially severe format errors

This commit is contained in:
Stéphane Lesimple
2021-01-15 19:41:48 +01:00
parent 66cf0d25ee
commit f68efb758e
6 changed files with 6 additions and 6 deletions

View File

@@ -534,7 +534,7 @@ int main(int argc, char *argv[])
Closure->prefetchSectors = atoi(optarg);
if( Closure->prefetchSectors < 32
|| Closure->prefetchSectors > MAX_PREFETCH_CACHE_SIZE)
Stop(_("--prefetch-sectors must be in range 32...%s"),
Stop(_("--prefetch-sectors must be in range 32...%d"),
MAX_PREFETCH_CACHE_SIZE);
break;
case MODIFIER_RANDOM_SEED: