aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extras/libmemif/adapter.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/libmemif/adapter.go b/extras/libmemif/adapter.go
index d5a1563..8ade6bc 100644
--- a/extras/libmemif/adapter.go
+++ b/extras/libmemif/adapter.go
@@ -474,11 +474,11 @@ func Init(appName string) error {
// Initialize C-libmemif.
var errCode int
if appName == "" {
- errCode = int(C.memif_init(nil, nil, nil, nil))
+ errCode = int(C.memif_init(nil, nil, nil, nil, nil))
} else {
appName := C.CString(appName)
defer C.free(unsafe.Pointer(appName))
- errCode = int(C.memif_init(nil, appName, nil, nil))
+ errCode = int(C.memif_init(nil, appName, nil, nil, nil))
}
err := getMemifError(errCode)
if err != nil {