]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
get_task_comm(): return the result
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 5 Feb 2008 06:27:21 +0000 (22:27 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:07 +0000 (09:44 -0800)
commit59714d65dfbc86d5cb93adc5bac57a921cc2fa84
tree10eda85ccab88fb707d6c6b4f4fb7f2e9bd1f4e1
parent0ccf831cbee94df9c5006dd46248c0f07847dd7c
get_task_comm(): return the result

It was dumb to make get_task_comm() return void.  Change it to return a
pointer to the resulting output for caller convenience.

Cc: Ulrich Drepper <drepper@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/exec.c
include/linux/sched.h