[Initng-svn] r3824 - in initng/trunk: src
svn at initng.thinktux.net
svn at initng.thinktux.net
Tue Apr 18 12:42:14 CEST 2006
Author: jimmy
Date: Tue Apr 18 12:42:13 2006
New Revision: 3824
Modified:
initng/trunk/plugins/find/initng_find.c
initng/trunk/src/initng_load_module.c
Log:
Some more cleanups.
Modified: initng/trunk/plugins/find/initng_find.c
==============================================================================
--- initng/trunk/plugins/find/initng_find.c (original)
+++ initng/trunk/plugins/find/initng_find.c Tue Apr 18 12:42:13 2006
@@ -108,7 +108,7 @@
i++;
s[i] = '\0';
- W_("Service should be \"%s\"\n", s, for_service);
+ D_("Service should be \"%s\"\n", s, for_service);
if ((tmp = initng_common_parse_service(s)))
{
closedir(path);
@@ -149,7 +149,7 @@
/* Never try to find a service with a '/' in the name, it already have a path */
if (strstr(service, "/"))
{
- printf("This is a full path, nothing to search on.\n");
+ D_("This is a full path, nothing to search on.\n");
return (NULL);
}
Modified: initng/trunk/src/initng_load_module.c
==============================================================================
--- initng/trunk/src/initng_load_module.c (original)
+++ initng/trunk/src/initng_load_module.c Tue Apr 18 12:42:13 2006
@@ -483,14 +483,15 @@
/* check if it was initialized correctly */
if (current->initziated != TRUE)
{
- F_("Module %s did not load correctly (module_init() returned %i)\n", current->module_name, current->initziated);
+ if(g.i_am == I_AM_INIT || g.i_am == I_AM_FAKE_INIT)
+ F_("Module %s did not load correctly (module_init() returned %i)\n", current->module_name, current->initziated);
initng_load_module_close_and_free(current);
}
}
/* initng_load_static_modules(); */
- return TRUE;
+ return(TRUE);
}
More information about the Initng-svn
mailing list