Fixed cloning the vesa accelerant
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15669 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
66080bed4a
commit
805d0b82d1
@ -181,7 +181,7 @@ vesa_clone_accelerant(void *info)
|
|||||||
|
|
||||||
// create full device name
|
// create full device name
|
||||||
char path[MAXPATHLEN];
|
char path[MAXPATHLEN];
|
||||||
strcpy(path, "/dev");
|
strcpy(path, "/dev/");
|
||||||
strcat(path, (const char *)info);
|
strcat(path, (const char *)info);
|
||||||
|
|
||||||
int fd = open(path, B_READ_WRITE);
|
int fd = open(path, B_READ_WRITE);
|
||||||
|
Loading…
Reference in New Issue
Block a user