[packages/vdo] - more fixes in types patch
qboosh
qboosh at pld-linux.org
Thu Jun 29 07:57:48 CEST 2023
commit 2bd1b60428eb4bf54174f4748922d0733fd921de
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Jun 29 06:31:09 2023 +0200
- more fixes in types patch
vdo-types.patch | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
---
diff --git a/vdo-types.patch b/vdo-types.patch
index 74270cc..0d689ae 100644
--- a/vdo-types.patch
+++ b/vdo-types.patch
@@ -155,6 +155,15 @@
if (result == -1) {
udsFreeConfiguration(udsConfig);
return ENOMEM;
+@@ -673,7 +673,7 @@ static int performDeviceConversion(off_t
+ lvmExtentSize = VDO_BLOCK_SIZE;
+ }
+
+- printf("New geometry block offset calculated at %lu\n",
++ printf("New geometry block offset calculated at %"PRIu64"\n",
+ newBlockOffset * VDO_BLOCK_SIZE);
+
+ // If its not a dry run, convert the VDO device
@@ -706,9 +707,9 @@
cleanup(vdo, layer);
close(fd);
@@ -168,6 +177,15 @@
return result;
}
+@@ -846,7 +846,7 @@ static int repairDeviceConversion(off_t
+ fileName, stringError(result, errBuf, ERRBUF_SIZE));
+ }
+
+- printf("New geometry block offset calculated at %lu\n",
++ printf("New geometry block offset calculated at %"PRIu64"\n",
+ newBlockOffset * VDO_BLOCK_SIZE);
+
+ // If there is a change in location and its not a dry run
@@ -888,9 +889,9 @@
cleanup(vdo, layer);
close(fd);
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/vdo.git/commitdiff/2bd1b60428eb4bf54174f4748922d0733fd921de
More information about the pld-cvs-commit
mailing list