[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] [PATCH] daemon: program_name must be defined for Gnulib error module.



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)
>  {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]