cmdline: add alignment constraint
authorAdrien Mazarguil <adrien.mazarguil@6wind.com>
Wed, 21 Dec 2016 14:51:21 +0000 (15:51 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 23 Dec 2016 09:19:11 +0000 (10:19 +0100)
commit1ad44ac13cbdf1d14b90698909e2d4a0b1d88594
treef0775f702d9eaf2be118577ae2ecfd877a5b24b4
parent4fffc05a2b2c52262b302b1e32388f6ad64f14d8
cmdline: add alignment constraint

This prevents sigbus errors on architectures that cannot handle unexpected
unaligned accesses to the output buffer.

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Acked-by: Olga Shern <olgas@mellanox.com>
lib/librte_cmdline/cmdline_parse.c