summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschu <schu-github@schulog.org>2011-09-16 13:55:29 +0200
committerschu <schu-github@schulog.org>2011-09-17 12:14:13 +0200
commitef37489041ff7bbab5a10bf54fe9b01ddacef75e (patch)
tree12fb9d2f89555b4269efa18e3033d8aa4769330d
parent934fa904e949a9e33dcb017fb73c0e3db22c3f3d (diff)
downloadlibgit2-ef37489041ff7bbab5a10bf54fe9b01ddacef75e.tar.gz
status.c: remove wrong address operator
Signed-off-by: schu <schu-github@schulog.org>
-rw-r--r--src/status.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/status.c b/src/status.c
index e2e9998e4..b93ea7096 100644
--- a/src/status.c
+++ b/src/status.c
@@ -521,7 +521,7 @@ static int recurse_tree_entry(git_tree *tree, struct status_entry *e, const char
/* Retreive subtree */
if ((error = git_tree_lookup(&subtree, tree->object.repo, &tree_entry->oid)) < GIT_SUCCESS)
- return git__throw(GIT_EOBJCORRUPTED, "Can't find tree object '%s'", &tree_entry->filename);
+ return git__throw(GIT_EOBJCORRUPTED, "Can't find tree object '%s'", tree_entry->filename);
error = recurse_tree_entry(subtree, e, dir_sep+1);
git_tree_close(subtree);
@@ -681,4 +681,4 @@ static int alphasorted_futils_direach(
git_vector_free(&entry_names);
return error;
-} \ No newline at end of file
+}