Fix build when ocaml-gettext is not installed.
authorRichard W.M. Jones <rjones@redhat.com>
Fri, 8 Aug 2008 13:48:11 +0000 (14:48 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 8 Aug 2008 13:48:11 +0000 (14:48 +0100)
lib/virt_mem_utsname.ml

index 33ee969..149e735 100644 (file)
@@ -78,6 +78,8 @@ let find_utsname debug ({ domname = name; mem = mem } as image, ksymmap) =
          parse_utsname bits
            with
              Not_found ->
-               eprintf (f_"%s: could not find utsname in kernel image\n") name
+               eprintf (f_"%s: could not find utsname in kernel image\n")
+                 name;
+               None
   in
   (image, ksymmap, utsname)