status.c: remove wrong address operator Signed-off-by: schu <schu-github@schulog.org>
diff --git a/src/status.c b/src/status.c
index e2e9998..b93ea70 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
+}