Commit dc21641b authored by Andrew Vagin's avatar Andrew Vagin Committed by Pavel Emelyanov

shmem: use PRI64 to print u64 (v2)

shmem.c:290:4: note: in expansion of macro 'pr_err'
    pr_err("Shmem %lx already collected as SYSVIPC\n", vi->shmid);
    ^

v2: fix one more place
Signed-off-by: 's avatarAndrew Vagin <avagin@virtuozzo.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent a4facc6b
......@@ -186,7 +186,7 @@ static int open_shmem_sysv(int pid, struct vma_area *vma)
si = shmem_find(vme->shmid);
if (!si) {
pr_err("Can't find sysv shmem for %lx\n", vme->shmid);
pr_err("Can't find sysv shmem for %"PRIx64"\n", vme->shmid);
return -1;
}
......@@ -287,7 +287,7 @@ int collect_shmem(int pid, struct vma_area *vma)
si = shmem_find(vi->shmid);
if (si) {
if (si->pid == SYSVIPC_SHMEM_PID) {
pr_err("Shmem %lx already collected as SYSVIPC\n", vi->shmid);
pr_err("Shmem %"PRIx64" already collected as SYSVIPC\n", vi->shmid);
return -1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment