aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/ice4100/sgx535/common/pvrsrv.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/ice4100/sgx535/common/pvrsrv.c')
-rwxr-xr-xdrivers/staging/ice4100/sgx535/common/pvrsrv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/ice4100/sgx535/common/pvrsrv.c b/drivers/staging/ice4100/sgx535/common/pvrsrv.c
index bb486f9f0ef..cfde445c77d 100755
--- a/drivers/staging/ice4100/sgx535/common/pvrsrv.c
+++ b/drivers/staging/ice4100/sgx535/common/pvrsrv.c
@@ -655,7 +655,7 @@ PVRSRV_ERROR PVRSRVGetMiscInfoKM_BMContext_AnyVaCb(BM_CONTEXT * psBMContext,
CHECK_SPACE(*pui32StrLen);
*pi32Count =
snprintf(*ppszStr, 100,
- "\nApplication Context (hDevMemContext) 0x%08X:\n",
+ "\nApplication Context (hDevMemContext) 0x%p:\n",
(void *)psBMContext);
UPDATE_SPACE(*ppszStr, *pi32Count, *pui32StrLen);
@@ -786,7 +786,7 @@ PVRSRV_ERROR PVRSRVGetMiscInfoKM(PVRSRV_MISC_INFO * psMiscInfo)
&ui32StrLen,
&i32Count, &pszStr);
- i32Count = snprintf(pszStr, 100, "\n\0");
+ i32Count = snprintf(pszStr, 100, "\n");
UPDATE_SPACE(pszStr, i32Count, ui32StrLen);
}