summaryrefslogtreecommitdiff
path: root/status.go
diff options
context:
space:
mode:
Diffstat (limited to 'status.go')
-rw-r--r--status.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/status.go b/status.go
index 3923e1a..0b0bc18 100644
--- a/status.go
+++ b/status.go
@@ -159,7 +159,7 @@ func (v *Repository) StatusList(opts *StatusOptions) (*StatusList, error) {
}
} else {
copts = &C.git_status_options{}
- ret := C.git_status_init_options(copts, C.GIT_STATUS_OPTIONS_VERSION)
+ ret := C.git_status_options_init(copts, C.GIT_STATUS_OPTIONS_VERSION)
if ret < 0 {
return nil, MakeGitError(ret)
}