Staging: epl: remove compiler warning from SharedBuff.c
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 23 Mar 2009 19:12:46 +0000 (12:12 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Apr 2009 21:54:21 +0000 (14:54 -0700)
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>
drivers/staging/epl/SharedBuff.c

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