[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] Fix OpenBSD linker warnings

From: Blue Swirl
Subject: [Qemu-devel] [PATCH] Fix OpenBSD linker warnings
Date: Fri, 15 Aug 2008 23:20:26 +0300

OpenBSD gcc issues warnings for some suspicious constructs, like:
slirp/tcp_subr.c:1077: warning: Array size (256) smaller than format
string size (257) (arg 3)
vl.o(.text+0x7bc0): In function `drive_init':
vl.c:5464: warning: strcpy() is almost always misused, please use strlcpy()

This patch silences the warnings. Comments?

Attachment: fix_obsd_ld_warnings.diff
Description: plain/text

reply via email to

[Prev in Thread] Current Thread [Next in Thread]