Merge branch 'obsd-master'

pull/1819/head
Thomas Adam 2019-06-28 09:02:24 +01:00
commit b6b4f86cfc
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ xvasprintf(char **ret, const char *fmt, va_list ap)
i = vasprintf(ret, fmt, ap);
if (i < 0 || *ret == NULL)
if (i == -1)
fatalx("xasprintf: %s", strerror(errno));
return i;