librazor/razor-root.c
changeset 244 708a3d9c759a
parent 241 c3eb520e2219
     1.1 --- a/librazor/razor-root.c	Mon Jun 16 15:40:30 2008 -0400
     1.2 +++ b/librazor/razor-root.c	Mon Jun 16 22:35:09 2008 -0400
     1.3 @@ -79,7 +79,7 @@
     1.4  	/* Create the new next repo file up front to ensure exclusive
     1.5  	 * access. */
     1.6  	snprintf(image->new_path, sizeof image->new_path,
     1.7 -		 "%s%s/%s", root, root, next_repo_filename);
     1.8 +		 "%s%s/%s", root, razor_root_path, next_repo_filename);
     1.9  	image->fd = open(image->new_path,
    1.10  			 O_CREAT | O_WRONLY | O_TRUNC | O_EXCL, 0666);
    1.11  	if (image->fd < 0) {