let opt = substr(shift(ARGV), 1);
switch(opt) {
case 'd':
- opts.duration = 1.0 * shift(ARGV);
+ opts.duration = +shift(ARGV);
break;
case 's':
opts.socket = shift(ARGV);
for (let ring in selected) {
if (!open_ring(ring)) {
- _warn(`Failed to open ring ${ring_name}\n`);
+ _warn(`Failed to open ring ${ring.proc_name}:${ring.ring_name}\n`);
if (opts.force)
continue;