hotplug: avoid using the deprecated is_error() call, check for NULL pointer instead
authorFelix Fietkau <nbd@openwrt.org>
Fri, 29 Aug 2014 11:25:17 +0000 (13:25 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 29 Aug 2014 11:25:17 +0000 (13:25 +0200)
commit0fc1e953351f89a52a6eaaab140729d34ca07809
tree76f91223543c50e541bcf6d878888ce5ff7eb540
parentac51761d6b2262a1640e576ddff5a8ea4c7999d0
hotplug: avoid using the deprecated is_error() call, check for NULL pointer instead

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
plug/hotplug.c