summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinquize <linquize@yahoo.com.hk>2015-04-24 23:56:59 +0800
committerLinquize <linquize@yahoo.com.hk>2015-04-24 23:56:59 +0800
commit31d5dce372d7db35f5c59eac5e613fa403668987 (patch)
tree895a848f00def1aa73c7abe72931c411c2a75120
parent7568bdf4abf8c99c4bf0a87ff4ce6967c333e70a (diff)
downloadlibgit2-31d5dce372d7db35f5c59eac5e613fa403668987.tar.gz
Fix wrong format string in git_reflog_drop() error message
-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;
}