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
This commit is contained in:
Bart Van Assche
2015-12-17 14:37:49 +00:00
parent f5d992bf14
commit 8547aa92dd
+1 -1
View File
@@ -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