Upstream PR: https://github.com/cminyard/gensio/pull/69 Signed-off-by: Michael Heimpold <mhei@heimpold.de>