diff --git a/bindings/go/src/fdb/fdb.go b/bindings/go/src/fdb/fdb.go index 76cf5ac67e..54992f902a 100644 --- a/bindings/go/src/fdb/fdb.go +++ b/bindings/go/src/fdb/fdb.go @@ -138,7 +138,7 @@ func APIVersion(version int) error { if e == 2203 { maxSupportedVersion := C.fdb_get_max_api_version() if headerVersion > int(maxSupportedVersion) { - return fmt.Errorf("This version of the FoundationDB Go binding is not supported by the installed FoundationDB C library. The binding requires a library that supports API version %d, but the installed library supports a maximum version of %d.", version, maxSupportedVersion) + return fmt.Errorf("This version of the FoundationDB Go binding is not supported by the installed FoundationDB C library. The binding requires a library that supports API version %d, but the installed library supports a maximum version of %d.", headerVersion, maxSupportedVersion) } return fmt.Errorf("API version %d is not supported by the installed FoundationDB C library.", version) }