summaryrefslogtreecommitdiff
path: root/ruby
diff options
context:
space:
mode:
authorRuss Allbery <eagle@eyrie.org>2016-10-03 18:58:49 -0700
committerRuss Allbery <eagle@eyrie.org>2016-10-03 18:58:49 -0700
commit67a2f72e93de4d3235c2d145293adb93566a6986 (patch)
tree205cf7adf1ec698eedc315d1353c46b7ca263548 /ruby
parent11767aada87091075ebe0030765826de82f1edaf (diff)
Import new warning flag handling from rra-c-util
Use Autoconf to probe for warning flags, update rra-c-util files with various warning fixes, and fix newly-discovered warnings in the remctl source base caught by GCC 6.
Diffstat (limited to 'ruby')
-rw-r--r--ruby/remctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby/remctl.c b/ruby/remctl.c
index 5587b46..d691e69 100644
--- a/ruby/remctl.c
+++ b/ruby/remctl.c
@@ -486,7 +486,7 @@ rb_remctl_type_intern(enum remctl_output_type type)
for (i = 0; OUTPUT_TYPE[i].name != NULL; i++)
if (OUTPUT_TYPE[i].type == type)
return ID2SYM(rb_intern(OUTPUT_TYPE[i].name));
- rb_bug("Fell off the end while looking up remctl output type %d!\n", type);
+ rb_bug("Fell off the end while looking up remctl output type %u!\n", type);
}