fixed cloning accelerant!

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8253 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rudolf Cornelissen 2004-07-01 14:26:32 +00:00
parent fd9a9adcc0
commit d194a7c235

View File

@ -291,7 +291,7 @@ status_t CLONE_ACCELERANT(void *data)
char path[MAXPATHLEN];
/* the data is the device name */
strcpy(path, "/dev");
strcpy(path, "/dev/");
strcat(path, (const char *)data);
/* open the device, the permissions aren't important */
fd = open(path, B_READ_WRITE);