X-Git-Url: https://git.llucax.com/z.facultad/75.06/jacu.git/blobdiff_plain/6ceb9e978d795143bdf7679855a932540eef18b2..6dba279c6a655c3d0d1d5371b58f4df69360cc73:/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;