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

Richard W.M. Jones rjones at redhat.com
Thu Nov 26 13:34:56 UTC 2009


-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top
-------------- next part --------------
>From 42407dd684bf9abaa046eb173de8dad4f2f80419 Mon Sep 17 00:00:00 2001
From: Richard Jones <rjones at redhat.com>
Date: Thu, 26 Nov 2009 13:23:56 +0000
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. */
+const char *program_name = "guestfsd";
+
 static void
 usage (void)
 {
-- 
1.6.5.2



More information about the Libguestfs mailing list