Removed buggy burn_strdup() and burn_strndup(). Thanks to Rich Felker.

This commit is contained in:
2012-08-28 16:20:45 +00:00
parent 4cfa8170ee
commit eb86e5298a
5 changed files with 3 additions and 43 deletions

View File

@ -448,7 +448,7 @@ static void enumerate_common(char *fname, int bus_no, int host_no,
out.channel = channel_no;
out.lun = lun_no;
out.devname = burn_strdup(fname);
out.devname = strdup(fname);
out.cam = NULL;
out.lock_fd = -1;