On 2021-04-10 15:05 +0100, John Burrell via blfs-dev wrote:
> Using the systemd version of the development book, libblockdev-2.25 gives:
>
> vdo.c: In function ‘bd_vdo_stats_copy’:
> vdo.c:84:5: error: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead
> [-Werror=deprecated-declarations]
> 84 |
Using the systemd version of the development book, libblockdev-2.25 gives:
vdo.c: In function ‘bd_vdo_stats_copy’:
vdo.c:84:5: error: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead
[-Werror=deprecated-declarations]
84 | return g_memdup (stats, sizeof (BDVDOStats));
| ^~
In