diff options
-rw-r--r-- | lib/nl80211.c | 2 | ||||
-rw-r--r-- | lib/resolv.c | 2 | ||||
-rw-r--r-- | lib/rtnl.c | 2 |
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); } } @@ -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); } } |