summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--lib/nl80211.c2
-rw-r--r--lib/resolv.c2
-rw-r--r--lib/rtnl.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/nl80211.c b/lib/nl80211.c
index 8504203..fc24fb8 100644
--- a/lib/nl80211.c
+++ b/lib/nl80211.c
@@ -61,7 +61,7 @@ set_error(int errcode, const char *fmt, ...) {
if (fmt) {
va_start(ap, fmt);
- vasprintf(&last_error.msg, fmt, ap);
+ xvasprintf(&last_error.msg, fmt, ap);
va_end(ap);
}
}
diff --git a/lib/resolv.c b/lib/resolv.c
index fe704fa..044b7b7 100644
--- a/lib/resolv.c
+++ b/lib/resolv.c
@@ -54,7 +54,7 @@ set_error(int errcode, const char *fmt, ...) {
if (fmt) {
va_start(ap, fmt);
- vasprintf(&last_error.msg, fmt, ap);
+ xvasprintf(&last_error.msg, fmt, ap);
va_end(ap);
}
}
diff --git a/lib/rtnl.c b/lib/rtnl.c
index 4d5cc02..b6a3e38 100644
--- a/lib/rtnl.c
+++ b/lib/rtnl.c
@@ -77,7 +77,7 @@ set_error(int errcode, const char *fmt, ...) {
if (fmt) {
va_start(ap, fmt);
- vasprintf(&last_error.msg, fmt, ap);
+ xvasprintf(&last_error.msg, fmt, ap);
va_end(ap);
}
}