# HG changeset patch # User Kristian H?gsberg # Date 1213669959 14400 # Node ID f37f5f4a2403d0a71cc2edd8269e32373de5b679 # Parent f2218527ad4a6e0087483aa0af5f91878a3ebd32 Fix a typo when creating the root path. diff -r f2218527ad4a -r f37f5f4a2403 librazor/razor-root.c --- a/librazor/razor-root.c Mon Jun 16 17:54:29 2008 -0400 +++ b/librazor/razor-root.c Mon Jun 16 22:32:39 2008 -0400 @@ -79,7 +79,7 @@ /* Create the new next repo file up front to ensure exclusive * access. */ snprintf(image->new_path, sizeof image->new_path, - "%s%s/%s", root, root, next_repo_filename); + "%s%s/%s", root, razor_root_path, next_repo_filename); image->fd = open(image->new_path, O_CREAT | O_WRONLY | O_TRUNC | O_EXCL, 0666); if (image->fd < 0) {