scsi-generic: correct usage of memset() (Laurent Vivier)
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 22 Sep 2008 15:27:54 +0000 (15:27 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 22 Sep 2008 15:27:54 +0000 (15:27 +0000)
commit7c43b6baf21550f94507422905eb1783c06b420b
tree3cb9673c271d759a2bf2e3ef34795d48df46a6f5
parent4cdf4dbf3e5a33a10277bfce0d95b82212fd7d02
scsi-generic: correct usage of memset() (Laurent Vivier)

      void *memset(void *s, int c, size_t n);

DESCRIPTION
       The  memset()  function  fills  the  first  n  bytes of the
memory area
       pointed to by s with the constant byte c."

Reported by Dietmar Maurer.

Signed-off-by: Laurent Vivier <Laurent.Vivier@bull.net>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5291 c046a42c-6fe2-441c-8c8c-71466251a162
hw/scsi-generic.c