From: Florian G. <re...@us...> - 2007-12-18 00:03:12
|
Update of /cvsroot/perfparse/_perfparse/modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26547/modules Modified Files: libpp_storage.h storage_file_output.c Log Message: squashed some compiler warnings Index: libpp_storage.h =================================================================== RCS file: /cvsroot/perfparse/_perfparse/modules/libpp_storage.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** libpp_storage.h 24 Aug 2006 11:31:59 -0000 1.2 --- libpp_storage.h 18 Dec 2007 00:03:00 -0000 1.3 *************** *** 52,56 **** ! int (*log)(char *file, int line, char *fmt, ...); } storage_module_t; --- 52,56 ---- ! int (*log)(char *file, int line, int loglevel, char *fmt, ...); } storage_module_t; Index: storage_file_output.c =================================================================== RCS file: /cvsroot/perfparse/_perfparse/modules/storage_file_output.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** storage_file_output.c 26 Sep 2005 14:36:33 -0000 1.1.1.1 --- storage_file_output.c 18 Dec 2007 00:03:00 -0000 1.2 *************** *** 3,8 **** * storage_file_output.c - Parse Nagios data and store in relational database. * ! * Copyright (c) 2004 Yves Mettier (yme...@li...) ! * Last Modified: 2004-09-16 * * License: --- 3,10 ---- * storage_file_output.c - Parse Nagios data and store in relational database. * ! * Copyright (c) 2004-2007 Yves Mettier (yme...@li...) ! * Florian Gleixner ! * ! * $Id$ * * License: *************** *** 53,57 **** pos[0] = '\0'; if(mkdir (filename,0755) && (errno != EEXIST)) { ! pp_log(__FILE__,__LINE__, _("Could not create directory '%s'"), filename); pos[0] = '/'; return(-1); --- 55,59 ---- pos[0] = '\0'; if(mkdir (filename,0755) && (errno != EEXIST)) { ! pp_log(__FILE__,__LINE__,LOG_ERROR, _("Could not create directory '%s'"), filename); pos[0] = '/'; return(-1); *************** *** 168,170 **** return(sm); } - --- 170,171 ---- |