From d4463ab1b5a898c9204be8684ec440add70e7ef6 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 27 Aug 2015 18:40:55 +0000 Subject: [PATCH] scst_mem: Avoid that a debug statement can print an uninitialized value This was detected by Coverity. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6488 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/scst_mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scst/src/scst_mem.c b/scst/src/scst_mem.c index 6ccb8cf40..1706acb78 100644 --- a/scst/src/scst_mem.c +++ b/scst/src/scst_mem.c @@ -1168,7 +1168,7 @@ out_return: out_return1: *sgv = obj; - TRACE_MEM("Returning failed obj %p (count %d)", obj, *count); + TRACE_MEM("Returning failed obj %p", obj); out_return2: *count = pages_to_alloc;