1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-25 01:34:28 +03:00

sd-netlink: make sd_netlink_message_read() returns size of read data

This commit is contained in:
Yu Watanabe 2019-07-11 10:12:35 +09:00
parent 66d3159739
commit 5dc3dbe855

View File

@ -611,7 +611,7 @@ int sd_netlink_message_read(sd_netlink_message *m, unsigned short type, size_t s
if (data)
memcpy(data, attr_data, size);
return 0;
return r;
}
int sd_netlink_message_read_string(sd_netlink_message *m, unsigned short type, const char **data) {