fixed cloning accelerant (sorry for 'intruding'..)

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7177 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rudolf Cornelissen 2004-04-06 18:21:26 +00:00
parent a5c5358d04
commit 72191e36d5

View File

@ -195,7 +195,7 @@ status_t CLONE_ACCELERANT( void *data )
int fd;
// create full device name
strcpy(path, "/dev");
strcpy(path, "/dev/");//added trailing '/', this fixes cloning accelerant!
strcat(path, (const char *)data);
// open device; according to Be, permissions aren't important