From 32a8b0f54c58ae221d5d7b301f8eabbd675babc7 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 25 Aug 2011 13:11:28 +0100 Subject: [PATCH] ruby: Append newline character after printing exception in callback. (cherry picked from commit 0cd5b9ac15c62eb570ec74d19b4aebde4990fd82) --- generator/generator_ruby.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/generator_ruby.ml b/generator/generator_ruby.ml index 7c8788d..c94a101 100644 --- a/generator/generator_ruby.ml +++ b/generator/generator_ruby.ml @@ -264,7 +264,7 @@ ruby_event_callback_handle_exception (VALUE not_used, VALUE exn) /* Callbacks aren't supposed to throw exceptions. The best we * can do is to print the error. */ - fprintf (stderr, \"libguestfs: exception in callback: %%s\", + fprintf (stderr, \"libguestfs: exception in callback: %%s\\n\", StringValueCStr (exn)); return Qnil; -- 1.8.3.1