diff options
| author | Michael S. Tsirkin <mst@redhat.com> | 2019-02-01 17:57:42 -0500 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2019-02-05 10:58:33 -0500 |
| commit | 7de7b6087ef0443c7eef7b8b618ef9a8254a452e (patch) | |
| tree | eff7627d9e90e09a944fae64e22addd75f2b30c1 /include/qemu-common.h | |
| parent | 7265c2b9716369b339d778b9ef64a8161eb8f99b (diff) | |
| download | focaccia-qemu-7de7b6087ef0443c7eef7b8b618ef9a8254a452e.tar.gz focaccia-qemu-7de7b6087ef0443c7eef7b8b618ef9a8254a452e.zip | |
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>
Diffstat (limited to 'include/qemu-common.h')
0 files changed, 0 insertions, 0 deletions