X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/32feb1e82b00d6c1ad3f5aa6884d003a665ea975..307f7d374d6a1907a71f5da28ba9ef62f7edbca9:/emufs/did.c?ds=inline diff --git a/emufs/did.c b/emufs/did.c index 0c7c10a..663feef 100644 --- a/emufs/did.c +++ b/emufs/did.c @@ -37,8 +37,9 @@ */ #include "did.h" -#include #include +#include +#include int emufs_did_crear(EMUFS* efs) { @@ -81,7 +82,7 @@ EMUFS_REG_ID emufs_did_get_last(EMUFS *efs, int* err) fclose(f_did); PERR("Error al leer did"); *err = 3; /* EMUFS_ERROR_FILE_READ */ - return NULL; + return EMUFS_NOT_FOUND; } /* voy al final */ if (fseek(f_did, 0l, SEEK_END)) {