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:
Stefano Ceccherini 2005-12-25 10:43:51 +00:00
parent 66080bed4a
commit 805d0b82d1

View File

@ -181,7 +181,7 @@ vesa_clone_accelerant(void *info)
// create full device name
char path[MAXPATHLEN];
strcpy(path, "/dev");
strcpy(path, "/dev/");
strcat(path, (const char *)info);
int fd = open(path, B_READ_WRITE);