Line
Link Here
|
0 |
-- procps-ng-3.3.11/ps/global.c |
0 |
++ procps-ng-3.3.11-uclibcng/ps/global.c |
Lines 490-495
void self_info(void){
Link Here
|
490 |
screen_cols, screen_rows |
490 |
screen_cols, screen_rows |
491 |
); |
491 |
); |
492 |
|
492 |
|
|
|
493 |
#ifdef __UCLIBC__ |
494 |
fprintf(stderr, |
495 |
"personality=0x%08x (from \"%s\")\n" |
496 |
"EUID=%d Hertz=%lld page_size=%d\n", |
497 |
personality, saved_personality_text, |
498 |
cached_euid, Hertz, (int)(page_size) |
499 |
); |
500 |
#else |
493 |
fprintf(stderr, |
501 |
fprintf(stderr, |
494 |
"personality=0x%08x (from \"%s\")\n" |
502 |
"personality=0x%08x (from \"%s\")\n" |
495 |
"EUID=%d TTY=%d,%d Hertz=%lld page_size=%d\n", |
503 |
"EUID=%d TTY=%d,%d Hertz=%lld page_size=%d\n", |
Lines 497-502
void self_info(void){
Link Here
|
497 |
cached_euid, (int)major(cached_tty), (int)minor(cached_tty), Hertz, |
505 |
cached_euid, (int)major(cached_tty), (int)minor(cached_tty), Hertz, |
498 |
(int)(page_size) |
506 |
(int)(page_size) |
499 |
); |
507 |
); |
|
|
508 |
#endif |
500 |
|
509 |
|
501 |
fprintf(stderr, |
510 |
fprintf(stderr, |
502 |
"sizeof(proc_t)=%d sizeof(long)=%d sizeof(KLONG)=%d\n", |
511 |
"sizeof(proc_t)=%d sizeof(long)=%d sizeof(KLONG)=%d\n", |