From 7ac0286ce7104a5339dc8f8d1f625b62fcf3ec8a Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Wed, 9 Sep 2015 15:57:17 +0200 Subject: [PATCH] pkg: devicemapper: fix typo in function declaration 6990b76a696dd265674f4c2973f25755a6485f05 introduced a typo in function declaration, this patch fixes that. Signed-off-by: Antonio Murdaca --- devicemapper/devmapper_wrapper_deferred_remove.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devicemapper/devmapper_wrapper_deferred_remove.go b/devicemapper/devmapper_wrapper_deferred_remove.go index b5e0e16..40ab199 100644 --- a/devicemapper/devmapper_wrapper_deferred_remove.go +++ b/devicemapper/devmapper_wrapper_deferred_remove.go @@ -11,11 +11,11 @@ import "C" // LibraryDeferredRemovalsupport is supported when statically linked. const LibraryDeferredRemovalSupport = true -func dmTaskDeferredRemoveFct(task *CDmTask) int { +func dmTaskDeferredRemoveFct(task *cdmTask) int { return int(C.dm_task_deferred_remove((*C.struct_dm_task)(task))) } -func dmTaskGetInfoWithDeferredFct(task *CDmTask, info *Info) int { +func dmTaskGetInfoWithDeferredFct(task *cdmTask, info *Info) int { Cinfo := C.struct_dm_info{} defer func() { info.Exists = int(Cinfo.exists)