From 5861e11885238599e7af834c353140b224301fec Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Mon, 14 Nov 2011 19:21:52 +0100 Subject: [PATCH] Convert the "content" path to the internal format to have it excluded automatically. --- elem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elem.c b/elem.c index e76c91ce..5016f01c 100644 --- a/elem.c +++ b/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;