From 88d4c0489c5040d8c1832549f0059c3612cbf42b Mon Sep 17 00:00:00 2001 From: Ricardo Markiewicz Date: Sun, 30 May 2004 05:26:28 +0000 Subject: [PATCH] Arreglo el problema de nico --- emufs/tipo1_bplus_main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/emufs/tipo1_bplus_main.c b/emufs/tipo1_bplus_main.c index adac6a9..4c60715 100644 --- a/emufs/tipo1_bplus_main.c +++ b/emufs/tipo1_bplus_main.c @@ -79,6 +79,10 @@ int main (int argc,char* argv[]) texto = "PARTE COSNSTANTE, clave ="; emu = emufs_crear("test",T4,512,0); + if (emu == NULL) { + printf("No se pudo crear EMUFS\n"); + return 1; + } emufs_agregar_indice(emu,"claveidx",IND_PRIMARIO,IND_B_PLUS,IDX_INT,strlen(texto),tam_nodo, 0); -- 2.43.0