diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-08-25 13:11:28 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-08-25 13:11:28 +0100 |
commit | 0cd5b9ac15c62eb570ec74d19b4aebde4990fd82 (patch) | |
tree | 9a628d1edceb971c6942b397c2d55b56b6ba405f | |
parent | 54911bdd325393d1f7f2861f298463c364b45469 (diff) | |
download | libguestfs-0cd5b9ac15c62eb570ec74d19b4aebde4990fd82.tar.gz libguestfs-0cd5b9ac15c62eb570ec74d19b4aebde4990fd82.tar.xz libguestfs-0cd5b9ac15c62eb570ec74d19b4aebde4990fd82.zip |
ruby: Append newline character after printing exception in callback.
-rw-r--r-- | generator/generator_ruby.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generator/generator_ruby.ml b/generator/generator_ruby.ml index a21334a0..4e120002 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; |