From ed74706d80394fef709ec0258fc5cf7d974ff8b1 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 21 Oct 2010 11:59:49 +0100 Subject: [PATCH] generator: Missing newline character. --- generator/generator_ocaml.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/generator_ocaml.ml b/generator/generator_ocaml.ml index 6cb843a..9db69dc 100644 --- a/generator/generator_ocaml.ml +++ b/generator/generator_ocaml.ml @@ -380,7 +380,7 @@ copy_table (char * const * argv) pr " char *%s = guestfs_safe_strdup (g, String_val (%sv));\n" n n | OptString n -> pr " char *%s =\n" n; - pr " %sv != Val_int (0) ?" n; + pr " %sv != Val_int (0) ?\n" n; pr " guestfs_safe_strdup (g, String_val (Field (%sv, 0))) : NULL;\n" n | BufferIn n -> pr " size_t %s_size = caml_string_length (%sv);\n" n n; -- 1.8.3.1