From 8547aa92dd0aa86c6037e59c0c6588398cfd0241 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 17 Dec 2015 14:37:49 +0000 Subject: [PATCH] scst: Improve logging (merge r6479 from trunk) git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@6746 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/scst_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scst/src/scst_debug.c b/scst/src/scst_debug.c index 491004475..10a60c5fd 100644 --- a/scst/src/scst_debug.c +++ b/scst/src/scst_debug.c @@ -54,7 +54,7 @@ static inline int get_current_tid(void) * Unfortunately, task_pid_vnr() isn't IRQ-safe, so otherwise * it can oops. ToDo. */ - return 0; + return current->pid; } return task_pid_vnr(current); #endif