Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2019-06-28 09:02:24 +01:00

View File

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