git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3899989
)
ruby: Append newline character after printing exception in callback.
author
Richard W.M. Jones
<rjones@redhat.com>
Thu, 25 Aug 2011 12:11:28 +0000
(13:11 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Fri, 16 Sep 2011 15:15:36 +0000
(16:15 +0100)
(cherry picked from commit
0cd5b9ac15c62eb570ec74d19b4aebde4990fd82
)
generator/generator_ruby.ml
patch
|
blob
|
history
diff --git
a/generator/generator_ruby.ml
b/generator/generator_ruby.ml
index
7c8788d
..
c94a101
100644
(file)
--- 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;