Wrap the source code at 80 characters -- as widely as possible. We're
still left with a stackoverflow link, embedded in a comment:

https://stackoverflow.com/questions/11086549/how-to-rb-protect-everything-in-ruby

that makes the total width of "plugins/ruby/ruby.c" 87 characters. (But
that's just one line.)

Tested with:

$ nbdkit ruby

> nbdkit: error: the first parameter must be script=/path/to/ruby/script.rb

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2172516
Signed-off-by: Laszlo Ersek <ler...@redhat.com>
---
 plugins/ruby/ruby.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/plugins/ruby/ruby.c b/plugins/ruby/ruby.c
index 175a4cf6eed6..d37b6061ef4e 100644
--- a/plugins/ruby/ruby.c
+++ b/plugins/ruby/ruby.c
@@ -199,7 +199,8 @@ plugin_rb_config (const char *key, const char *value)
     int state;
 
     if (strcmp (key, "script") != 0) {
-      nbdkit_error ("the first parameter must be 
script=/path/to/ruby/script.rb");
+      nbdkit_error ("the first parameter must be "
+                    "script=/path/to/ruby/script.rb");
       return -1;
     }
     script = value;

_______________________________________________
Libguestfs mailing list
Libguestfs@redhat.com
https://listman.redhat.com/mailman/listinfo/libguestfs

Reply via email to