X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=generator%2Fgenerator_ruby.ml;h=4e12000291bf5e1a7a37768d60fedd4c8d6e5bef;hb=33bb658c383d3ae5877f763b0d34f15a82b4f86e;hp=a21334a0c8ea4cd2fdfcc16e6c8598ed28bcb00c;hpb=3408ef54c97812350d49691dff94eacd3823da66;p=libguestfs.git diff --git a/generator/generator_ruby.ml b/generator/generator_ruby.ml index a21334a..4e12000 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;