mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Convert the "content" path to the internal format to have it excluded automatically.
This commit is contained in:
parent
851c81e740
commit
5861e11885
1 changed files with 1 additions and 1 deletions
2
elem.c
2
elem.c
|
|
@ -28,7 +28,7 @@ struct snapraid_content* content_alloc(const char* path, uint64_t dev)
|
|||
struct snapraid_content* content;
|
||||
|
||||
content = malloc_nofail(sizeof(struct snapraid_content));
|
||||
pathcpy(content->content, sizeof(content->content), path);
|
||||
pathimport(content->content, sizeof(content->content), path);
|
||||
content->device = dev;
|
||||
|
||||
return content;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue