Switched from (now obsolete) 'process_load' to 'autostart_processes'.

This commit is contained in:
oliverschmidt 2008-02-07 15:53:43 +00:00
parent 58d047667d
commit 155a27ff59
4 changed files with 12 additions and 12 deletions

View file

@ -28,7 +28,7 @@
*
* This file is part of the Contiki operating system.
*
* @(#)$Id: dlloader.c,v 1.1 2006/06/17 22:41:18 adamdunkels Exp $
* @(#)$Id: dlloader.c,v 1.2 2008/02/07 15:53:43 oliverschmidt Exp $
*/
#include <dlfcn.h>
#include <stddef.h>
@ -53,10 +53,10 @@ dlloader_load(char *path, char *arg)
return LOADER_ERR_FMT;
}
/* Find the main process of the loaded program. */
p = dlsym(handle, "process_load");
/* Find the processes to be started from the loaded program. */
p = dlsym(handle, "autostart_processes");
if(p == NULL) {
printf("dlloader_load: could not find process startpoint 'process_load'\n");
printf("dlloader_load: could not find symbol 'autostart_processes'\n");
return LOADER_ERR_FMT;
}