summaryrefslogtreecommitdiff
path: root/gxp-wakelock.c
diff options
context:
space:
mode:
Diffstat (limited to 'gxp-wakelock.c')
-rw-r--r--gxp-wakelock.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gxp-wakelock.c b/gxp-wakelock.c
index 7f0d392..9110a3d 100644
--- a/gxp-wakelock.c
+++ b/gxp-wakelock.c
@@ -118,16 +118,16 @@ int gxp_wakelock_suspend(struct gxp_dev *gxp)
if (!down_read_trylock(&client->semaphore)) {
dev_warn_ratelimited(
gxp->dev,
- "Unable to acquire client lock (pid=%d)\n",
- client->pid);
+ "Unable to acquire client lock (tgid=%d pid=%d)\n",
+ client->tgid, client->pid);
continue;
}
if (client->has_block_wakelock)
dev_warn_ratelimited(
gxp->dev,
- "Cannot suspend with client holding wakelock (pid=%d)\n",
- client->pid);
+ "Cannot suspend with client holding wakelock (tgid=%d pid=%d)\n",
+ client->tgid, client->pid);
up_read(&client->semaphore);
}