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:
parent
bb4dd7d26b
commit
7ac0286ce7
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue