[Sysfence-commit] sysfence sysfence.c,1.17,1.18
Status: Alpha
Brought to you by:
emes
|
From: Michal S. <em...@us...> - 2004-05-26 04:15:28
|
Update of /cvsroot/sysfence/sysfence In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32374 Modified Files: sysfence.c Log Message: + some debug info Index: sysfence.c =================================================================== RCS file: /cvsroot/sysfence/sysfence/sysfence.c,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- sysfence.c 24 May 2004 22:23:05 -0000 1.17 +++ sysfence.c 26 May 2004 04:15:16 -0000 1.18 @@ -20,6 +20,7 @@ #include <sys/types.h> #include <sys/wait.h> #include <assert.h> +#include <syslog.h> #include "xalloc.h" #include "exit.h" #include "parseopt/lex.h" @@ -92,6 +93,9 @@ if (db_shmid < 0) bail_out (EXIT_SHM, NULL); db_shm = shared_mem_attach (db_shmid); main_db = (sf_database *) db_shm; +#ifdef DEBUG + syslog (LOG_DEBUG, "main_db created @ %x", main_db); +#endif /* initialize shared memory for fs database */ fs_shmid = shared_mem_init (FS_DATA_SIZE); |