diff options
author | Ondrej Fabry <ofabry@cisco.com> | 2018-11-06 15:49:33 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2018-11-06 15:49:33 +0000 |
commit | e3a361295d952bb83dd81755677362c392718ccc (patch) | |
tree | b392fae084eda2dbf0ef4d10e511c5da01766b3a | |
parent | feb7f540dd601aa108167c256bceb84474d38a18 (diff) | |
parent | a873f09ac2bf370e97eb595e4547894bcd1775d9 (diff) |
Merge "Fix compilation failure in libmemif adapter.go"
-rw-r--r-- | extras/libmemif/adapter.go | 4 |
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 { |