ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libeio/etp.c
(Generate patch)

Comparing libeio/etp.c (file contents):
Revision 1.11 by root, Sun May 1 17:15:45 2016 UTC vs.
Revision 1.14 by root, Tue Aug 14 11:47:01 2018 UTC

318static void ecb_noinline ecb_cold 318static void ecb_noinline ecb_cold
319etp_proc_init (void) 319etp_proc_init (void)
320{ 320{
321#if HAVE_PRCTL_SET_NAME 321#if HAVE_PRCTL_SET_NAME
322 /* provide a more sensible "thread name" */ 322 /* provide a more sensible "thread name" */
323 char name[15 + 1]; 323 char name[16 + 1];
324 const int namelen = sizeof (name) - 1; 324 const int namelen = sizeof (name) - 1;
325 int len; 325 int len;
326 326
327 prctl (PR_GET_NAME, (unsigned long)name, 0, 0, 0); 327 prctl (PR_GET_NAME, (unsigned long)name, 0, 0, 0);
328 name [namelen] = 0; 328 name [namelen] = 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines