diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-10-23 11:57:55 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-10-23 11:57:55 -0400 |
commit | 9aa2169eaeb20994fb2b0196c051cff52f57a93d (patch) | |
tree | a9ebe7cb6f569d1165af6a121d98dcd75fe171a4 /src/hwdb | |
parent | f60dad309a815ef55d7688343c62fbbf9d8e1040 (diff) | |
download | systemd-9aa2169eaeb20994fb2b0196c051cff52f57a93d.tar.gz systemd-9aa2169eaeb20994fb2b0196c051cff52f57a93d.tar.bz2 systemd-9aa2169eaeb20994fb2b0196c051cff52f57a93d.zip |
nspawn: use the return value from asprintf instead of checking the pointer
If allocation fails, the value of the point is "undefined". In practice
this matters very little, but for consistency with rest of the code,
let's check the return value.
Diffstat (limited to 'src/hwdb')
0 files changed, 0 insertions, 0 deletions