diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-03-07 14:01:45 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-03-07 14:01:45 -0500 |
commit | 2c07315225bef6be4830bce25a74da7f0ba4fcdc (patch) | |
tree | a36819ffde64067d556ff1d26687f1426b628dbd /src/network/networkctl.c | |
parent | fadce6caf57986dc941e5fe3c860998890d49fd2 (diff) |
machine: do not rely on asprintf setting arg on error
Strictly speaking, the output variable is undefined if asprintf fails.
We use the return value not the arg everywhere, and should we do here.
Diffstat (limited to 'src/network/networkctl.c')
0 files changed, 0 insertions, 0 deletions