jail: netifd: fix error handling issue reported by coverity
authorDaniel Golle <daniel@makrotopia.org>
Sat, 16 Oct 2021 23:29:08 +0000 (00:29 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 17 Oct 2021 18:33:51 +0000 (19:33 +0100)
commitd2a2eccbd145d246e3967aae0d75f20655426163
treed9a892d36873826553e8c5337c3c907c30843650
parent9b1e035ad17ce762d8e42c213b29c6f433b72040
jail: netifd: fix error handling issue reported by coverity

Check asprintf return value instead of checking for NULL-pointer.

Coverity CID: 1492158 Unchecked return value
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
jail/netifd.c