Commit ef37489041ff7bbab5a10bf54fe9b01ddacef75e

schu 2011-09-16T13:55:29

status.c: remove wrong address operator Signed-off-by: schu <schu-github@schulog.org>

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
+}