rem: strcpy(path, "/dev");
add: strcpy(path, "/dev/");
context: status_t CLONE_ACCELERANT(void *data){    status_t result;    char path[MAXPATHLEN];    /* the data is the device name */    strcpy(path, "/dev");    strcat(path, (const char *)data);    /* open the device, the permissions aren't important */    fd = open(path, B_READ_WRITE);    if (fd < 0)    {        result = fd;        goto error0;    }    /* note that we're a clone accelerant */    accelerantIsClone = 1;    /* call the shared initialization code */    result = init_common(fd);    /* bail out if the common initialization failed */    if (result != B_OK) goto error1;    /* get shared area for display modes */    result = my_mode_list_area = clone_area(        "VOODOO cloned display_modes",        (void **)&my_mode_list,        B_ANY_ADDRESS,        B_READ_AREA,        si->mode_area    );    if (result < B_OK) goto error2;    /* all done */    result = B_OK;    goto error0;error2:    /* free up the areas we cloned */    uninit_common();error1:    /* close the device we opened */    close(fd);error0:    return result;}