summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2015-04-24 12:00:51 -0400
committerEdward Thomson <ethomson@edwardthomson.com>2015-04-24 12:00:51 -0400
commitd969d41547080d5e924d49f44ba5de1ade5b343c (patch)
tree89df73807865898a499f2337ba15ed2262abe5d9 /src
parent65808406bb5813006c07ee2294f2690d20ab7d53 (diff)
parent31d5dce372d7db35f5c59eac5e613fa403668987 (diff)
downloadlibgit2-d969d41547080d5e924d49f44ba5de1ade5b343c.tar.gz
Merge pull request #3071 from linquize/git_reflog_drop
Fix wrong format string in git_reflog_drop() error message
Diffstat (limited to 'src')
-rw-r--r--src/reflog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reflog.c b/src/reflog.c
index 22aa7d8ed..9ce9aee6f 100644
--- a/src/reflog.c
+++ b/src/reflog.c
@@ -193,7 +193,7 @@ int git_reflog_drop(git_reflog *reflog, size_t idx, int rewrite_previous_entry)
entry = (git_reflog_entry *)git_reflog_entry_byindex(reflog, idx);
if (entry == NULL) {
- giterr_set(GITERR_REFERENCE, "No reflog entry at index "PRIuZ, idx);
+ giterr_set(GITERR_REFERENCE, "No reflog entry at index %"PRIuZ, idx);
return GIT_ENOTFOUND;
}