mirror of git://gcc.gnu.org/git/gcc.git
* setproctitle.c (setproctitle): Use "GNU/Linux" in comment.
From-SVN: r180641
This commit is contained in:
parent
dec3d2a0af
commit
d6b0f0f14f
|
@ -1,3 +1,7 @@
|
||||||
|
2011-10-28 Ian Lance Taylor <iant@google.com>
|
||||||
|
|
||||||
|
* setproctitle.c (setproctitle): Use "GNU/Linux" in comment.
|
||||||
|
|
||||||
2011-10-26 Iain Sandoe <iains@gcc.gnu.org>
|
2011-10-26 Iain Sandoe <iains@gcc.gnu.org>
|
||||||
|
|
||||||
PR target/48108
|
PR target/48108
|
||||||
|
|
|
@ -41,8 +41,8 @@ void
|
||||||
setproctitle (const char *name ATTRIBUTE_UNUSED, ...)
|
setproctitle (const char *name ATTRIBUTE_UNUSED, ...)
|
||||||
{
|
{
|
||||||
#ifdef PR_SET_NAME
|
#ifdef PR_SET_NAME
|
||||||
/* On Linux this sets the top visible "comm", but not necessarily
|
/* On GNU/Linux this sets the top visible "comm", but not
|
||||||
the name visible in ps. */
|
necessarily the name visible in ps. */
|
||||||
prctl (PR_SET_NAME, name);
|
prctl (PR_SET_NAME, name);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue