diff --git a/src/add-ons/accelerants/atimach64/InitAccelerant.c b/src/add-ons/accelerants/atimach64/InitAccelerant.c index 4e7420a88f..203a5763af 100644 --- a/src/add-ons/accelerants/atimach64/InitAccelerant.c +++ b/src/add-ons/accelerants/atimach64/InitAccelerant.c @@ -318,7 +318,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); diff --git a/src/add-ons/accelerants/et6x00/InitAccelerant.c b/src/add-ons/accelerants/et6x00/InitAccelerant.c index 65df0bc04c..03bd387adf 100644 --- a/src/add-ons/accelerants/et6x00/InitAccelerant.c +++ b/src/add-ons/accelerants/et6x00/InitAccelerant.c @@ -164,7 +164,7 @@ status_t result; 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);