sd-device: make several sd_device_get_*() accepts NULL pointer for buffer of returned...
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 29 Oct 2018 08:17:57 +0000 (17:17 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 29 Oct 2018 08:18:00 +0000 (17:18 +0900)
commit78ffb476f2129d9da1c9fa848f0e10dc12a1a4ee
treebbe244e0a5138789c7b0e9eb6c1ec6adef3807af
parent7b328204445489d3aba0f6b83b02f809ac4d6a59
sd-device: make several sd_device_get_*() accepts NULL pointer for buffer of returned value

When only the existence of the value are important, then we can set
NULL now.
src/libsystemd/sd-device/device-private.c
src/libsystemd/sd-device/sd-device.c