get-fields.sh: use printf for POSIX compat
authorAlex Xu <alex_y_xu@yahoo.ca>
Mon, 21 Dec 2015 16:11:17 +0000 (17:11 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 21 Dec 2015 16:11:17 +0000 (17:11 +0100)
commitbf925a9f1254391749f569c1b8fc606036340488
tree56a986e05369e50c19d6d11f5f26c50b1051bc6a
parent68136245ecd502b6d1619c3956dca7c0b4061eb9
get-fields.sh: use printf for POSIX compat

xen/tools/get-fields.sh used echo -n which is not POSIX compatible and
breaks building with dash (shell). Change it to use printf %s which is
usable everywhere.

Signed-off-by: Alex Xu <alex_y_xu@yahoo.ca>
xen/tools/get-fields.sh