X-Git-Url: https://git.llucax.com/z.facultad/75.06/jacu.git/blobdiff_plain/6ceb9e978d795143bdf7679855a932540eef18b2..0e2f6af6947a3915d2ba95e013ed0d81ab49fbd0:/src/vfile/vol.c diff --git a/src/vfile/vol.c b/src/vfile/vol.c index b66b272..adc72c4 100644 --- a/src/vfile/vol.c +++ b/src/vfile/vol.c @@ -50,7 +50,7 @@ int main(int argc, char* argv[]) "obtiene de la entrada estándar.\n"); return 1; } - if (!(vf = vfopen(argv[1], "w", atoi(argv[2]) /* * (1 << 10) en KB */))) + if (!(vf = vfopen(argv[1], "w", atoi(argv[2]) * (1 << 10) /* en KB */))) { fprintf(stderr, "No se pudo abrir el archivo virtual '%s'!\n", argv[1]); return 2;