summaryrefslogtreecommitdiffstats
path: root/loader
diff options
context:
space:
mode:
Diffstat (limited to 'loader')
-rw-r--r--loader/net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/net.c b/loader/net.c
index edb863695..eef0234c1 100644
--- a/loader/net.c
+++ b/loader/net.c
@@ -1172,7 +1172,7 @@ int writeEnabledNetInfo(iface_t *iface) {
iface->vendorclass = "anaconda";
} else {
if (asprintf(&iface->vendorclass, "anaconda-%s %s %s",
- kv.sysname, kv.release, kv.machine)) {
+ kv.sysname, kv.release, kv.machine) == -1 ) {
return 20;
}
}