search for: 6d0403a

Displaying 1 result from an estimated 1 matches for "6d0403a".

Did you mean: 630403
2016 Apr 04
2
[PATCH 1/2] Use 'error' function consistently throughout.
...uf) { - perror ("malloc"); - exit (EXIT_FAILURE); - } + if (!buf) + error (EXIT_FAILURE, errno, "malloc"); xdrmem_create (&xdr, buf, GUESTFS_MESSAGE_MAX, XDR_ENCODE); memset (&hdr, 0, sizeof hdr); diff --git a/daemon/tar.c b/daemon/tar.c index baa5403..6d0403a 100644 --- a/daemon/tar.c +++ b/daemon/tar.c @@ -23,6 +23,8 @@ #include <string.h> #include <fcntl.h> #include <unistd.h> +#include <errno.h> +#include <error.h> #include <sys/types.h> #include <sys/stat.h> @@ -110,10 +112,8 @@ read_error_file (char...