qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] commit d354899 (Fix OpenBSD linker warning, 2010-02-23)
@ 2010-02-25 14:00 Paolo Bonzini
  2010-02-25 17:37 ` Blue Swirl
  0 siblings, 1 reply; 3+ messages in thread
From: Paolo Bonzini @ 2010-02-25 14:00 UTC (permalink / raw)
  To: qemu-devel

> -                if (b)
> -                    sprintf(b, "...");
> +                if (b) {
> +                    memcpy(b, "...", sizeof("..."));
> +                }

What's wrong with strcpy? :-)  (I doubt OpenBSD warns about that too).

Paolo

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-02-25 18:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-25 14:00 [Qemu-devel] commit d354899 (Fix OpenBSD linker warning, 2010-02-23) Paolo Bonzini
2010-02-25 17:37 ` Blue Swirl
2010-02-25 18:14   ` [Qemu-devel] " Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).