X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/d718803ef7f9e17b2fb893ea9c7c2905a1591cf2..11d6454ce311ba4d1271201649362d4300de2bee:/emufs/emufs.c?ds=inline diff --git a/emufs/emufs.c b/emufs/emufs.c index fc4165d..4b78a7d 100644 --- a/emufs/emufs.c +++ b/emufs/emufs.c @@ -518,7 +518,7 @@ EMUFS_BLOCK_ID emufs_create_new_block(EMUFS *emu) } fclose(fp); free(dummy); - return num; + return num-1; } /*devuelve un numero de bloque siguiente al ultimo*/