r2d: fix build on mingw
commit7de7b6087ef0443c7eef7b8b618ef9a8254a452e
authorMichael S. Tsirkin <mst@redhat.com>
Fri, 1 Feb 2019 22:57:42 +0000 (1 17:57 -0500)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 5 Feb 2019 15:58:33 +0000 (5 10:58 -0500)
treeeff7627d9e90e09a944fae64e22addd75f2b30c1
parent7265c2b9716369b339d778b9ef64a8161eb8f99b
r2d: fix build on mingw

Comment near strncpy explains kernel_cmdline does
not need to be 0-terminated.

Accordingly mark it as QEMU_NONSTRING.

Without this, gcc warns:
    'strncpy' specified bound 256 equals destination size

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/sh4/r2d.c