summaryrefslogtreecommitdiffstats
path: root/extras/libmemif
diff options
context:
space:
mode:
authorSerguei Bezverkhi <sbezverk@cisco.com>2018-10-16 14:27:26 -0400
committerTomas Slusny <slusnucky@gmail.com>2018-11-06 12:22:21 +0100
commita873f09ac2bf370e97eb595e4547894bcd1775d9 (patch)
treede640813f0dab316222731f03a5bf56433e94089 /extras/libmemif
parent6d6ad42ec0942a378c5550ad3472f388d7c85d49 (diff)
Fix compilation failure in libmemif adapter.go
Change-Id: I39704999503bb4e61f6f0abe8aede5d1d569e5b7 Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
Diffstat (limited to 'extras/libmemif')
-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 {