X-Git-Url: https://git.llucax.com/z.facultad/75.06/jacu.git/blobdiff_plain/6ceb9e978d795143bdf7679855a932540eef18b2..c37d2871b3f451fce12341d49c80a4ca9371f34f:/src/vfile/vol.c?ds=inline 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;