[Libguestfs] [PATCH] daemon: program_name must be defined for Gnulib error module.
Jim Meyering
jim at meyering.net
Thu Nov 26 13:48:47 UTC 2009
Richard W.M. Jones wrote:
> Subject: [PATCH] daemon: program_name must be defined for Gnulib error module.
>
> ---
> daemon/guestfsd.c | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c
> index c67503e..b525db5 100644
> --- a/daemon/guestfsd.c
> +++ b/daemon/guestfsd.c
> @@ -114,6 +114,9 @@ winsock_init (void)
> const char *sysroot = "/sysroot"; /* No trailing slash. */
> int sysroot_len = 8;
>
> +/* Not used, but required by the gnulib 'error' module. */
You must mean "Not used *explicitly* ..."
because if error is ever called, then program_name may be used.
ACK
> +const char *program_name = "guestfsd";
> +
> static void
> usage (void)
> {
More information about the Libguestfs
mailing list