On Wed, Oct 11, 2017 at 11:25:40AM +0200, Tomasz Duszynski wrote: > snprintf return value is the length of was encoded into destination > array excluding '\0'. Thus return value equal to the length of the > destination array or more means truncation. > > This commit fixes improper use of the return value. > > Signed-off-by: Tomasz Duszynski <t...@semihalf.com> > --- Good catch.
Acked-by: Bruce Richardson <bruce.richard...@intel.com>