Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[xen] Use standard calling pattern for asprintf()
Our asprintf() implementation guarantees that strp will be NULL on allocation failure, but this is not standard behaviour. Detect errors by checking for a negative return value instead of a NULL pointer. Signed-off-by: Michael Brown <mcb30@ipxe.org>
- Loading branch information