I was (mistakenly, as - looking at the code - it's clearly not intended
to work) passing the tool "Raw" and "Host" as command line arguments.
Avoid printing just "Raw " with not even a newline at the end in
such a case. Instead report what wasn't understood by the parsing logic.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Wei Liu <wl@xen.org>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
break;
}
+ if ( !i )
+ {
+ fprintf(stderr, "'%s' unrecognized - skipping\n", ptr);
+ continue;
+ }
+
+ if ( *ptr )
+ fprintf(stderr, "'%s' unrecognized - ignoring\n", ptr);
+
decode_featureset(fs, i, "Raw", true);
}
}