Browse Source

Staging: epl: remove compiler warning from SharedBuff.c

Yeah, it's a buffer, but this sure can't hurt as it's not easy to unwind
where it's coming from.

Cc: Daniel Krueger <daniel.krueger@systec-electronic.com>
Cc: Ronald Sieber <Ronald.Sieber@systec-electronic.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Greg Kroah-Hartman 16 years ago
parent
commit
c7c38309e4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/staging/epl/SharedBuff.c

+ 1 - 1
drivers/staging/epl/SharedBuff.c

@@ -1604,7 +1604,7 @@ tShbError ShbTraceDump(const unsigned char *pabStartAddr_p,
 	ulBuffSize = ulDataSize_p;
 	ulBuffSize = ulDataSize_p;
 
 
 	if (pszInfoText_p != NULL) {
 	if (pszInfoText_p != NULL) {
-		TRACE0(pszInfoText_p);
+		TRACE1("%s", pszInfoText_p);
 	}
 	}
 	// dump buffer contents
 	// dump buffer contents
 	for (nRow = 0;; nRow++) {
 	for (nRow = 0;; nRow++) {