commit | 2923a117a22561da085c2e29622177cc9e6c8d24 | [log] [tgz] |
---|---|---|
author | Jan Stancek <jstancek@redhat.com> | Fri Jan 13 10:35:59 2017 +0100 |
committer | Jan Stancek <jstancek@redhat.com> | Mon Jan 16 14:23:57 2017 +0100 |
tree | 6bdeae2579e8f762a7afe2944990a3d978cff574 | |
parent | 34faca03b646a40f5a844e9456eadc6f3412f8a3 [diff] |
lib: fix offset in tst_resm_hexd Commit f72ca5b9c484 "lib: add tst_res_hexd for newlib" broke tst_resm_hexd when I moved "offset = strlen(tmesg)" before macro that expands varargs. Fix it by moving offset initialisation after EXPAND_VAR_ARGS. Signed-off-by: Jan Stancek <jstancek@redhat.com> Acked-by: Cyril Hrubis <chrubis@suse.cz>