Marc-André Lureau <marcandre.lur...@redhat.com> writes: > Minor code simplification.
It's also a bit more robust: FOO_str(VAL) checks VAL is in range, FOO_lookup.array[VAL] doesn't. > > Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com> Reviewed-by: Markus Armbruster <arm...@redhat.com>