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