fixed cloning accelerant!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8253 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
fd9a9adcc0
commit
d194a7c235
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user