]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] qdio: remove incorrect memset
authorJan Glauber <jang@linux.vnet.ibm.com>
Tue, 28 Oct 2008 10:10:14 +0000 (11:10 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 28 Oct 2008 10:12:03 +0000 (11:12 +0100)
commit9717b0a9ac2369627201c991ee99bbac1eaa96cc
tree89c319b25ad32a0994ae473ac6e817e2ac28f7b3
parenta2368ae5abb4782bdaaf0b01c8624819d425dc70
[S390] qdio: remove incorrect memset

Remove the memset since zeroing the string is not needed and use
snprintf instead of sprintf.

Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/qdio_debug.c