diff --git a/src/core/namespace.c b/src/core/namespace.c index b00f27e08fb..fbcc4505b5a 100644 --- a/src/core/namespace.c +++ b/src/core/namespace.c @@ -536,7 +536,7 @@ static int append_extensions( *((*p)++) = (MountEntry) { .path_malloc = TAKE_PTR(mount_point), - .source_const = TAKE_PTR(source), + .source_malloc = TAKE_PTR(source), .mode = EXTENSION_DIRECTORIES, .ignore = ignore_enoent, .has_prefix = true,