daemon: program_name must be defined for Gnulib error module.
authorRichard Jones <rjones@redhat.com>
Thu, 26 Nov 2009 13:23:56 +0000 (13:23 +0000)
committerRichard Jones <rjones@redhat.com>
Thu, 26 Nov 2009 14:11:46 +0000 (14:11 +0000)
daemon/guestfsd.c

index 8d0154a..520a4a4 100644 (file)
@@ -115,6 +115,9 @@ winsock_init (void)
 const char *sysroot = "/sysroot"; /* No trailing slash. */
 int sysroot_len = 8;
 
+/* Not used explicitly, but required by the gnulib 'error' module. */
+const char *program_name = "guestfsd";
+
 static void
 usage (void)
 {