git://project.juiblex.co.uk
/
razor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
dd3840c
)
Fix a typo when creating the root path.
author
Kristian Høgsberg
<krh@redhat.com>
Tue, 17 Jun 2008 02:28:51 +0000 (22:28 -0400)
committer
Kristian Høgsberg
<krh@redhat.com>
Tue, 17 Jun 2008 02:32:39 +0000 (22:32 -0400)
librazor/razor-root.c
patch
|
blob
|
history
diff --git
a/librazor/razor-root.c
b/librazor/razor-root.c
index
12de470
..
8c032ef
100644
(file)
--- a/
librazor/razor-root.c
+++ b/
librazor/razor-root.c
@@
-79,7
+79,7
@@
razor_root_open(const char *root, int flags)
/* 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) {