pkg: devicemapper: fix typo in function declaration

6990b76a696dd265674f4c2973f25755a6485f05 introduced a typo in function
declaration, this patch fixes that.

Signed-off-by: Antonio Murdaca <runcom@linux.com>
This commit is contained in:
Antonio Murdaca 2015-09-09 15:57:17 +02:00
parent bb4dd7d26b
commit 7ac0286ce7

View file

@ -11,11 +11,11 @@ import "C"
// LibraryDeferredRemovalsupport is supported when statically linked. // LibraryDeferredRemovalsupport is supported when statically linked.
const LibraryDeferredRemovalSupport = true 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))) 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{} Cinfo := C.struct_dm_info{}
defer func() { defer func() {
info.Exists = int(Cinfo.exists) info.Exists = int(Cinfo.exists)