Show
Ignore:
Timestamp:
05/06/08 14:19:46 (7 months ago)
Author:
mwhitworth
Message:

Fix argument passing in ModuleLoad.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Whitix/branches/hybrid/user/system/startup.c

    r432 r434  
    55int ModuleLoad(char* name) 
    66{ 
    7         char* args[]={name}; 
     7        char* args[]={name, NULL}; 
    88        int fds[]={0, 1, 2}; 
    99 
     
    3030{ 
    3131        /* Load modules */ 
    32         SysChangeDir("/System/Modules"); 
     32        SysChangeDir("/System/Modules/"); 
    3333        ModuleLoad("Input/ps2mouse"); 
    3434