| 1 | # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=603759 |
| 2 | # https://bugs.gentoo.org/show_bug.cgi?id=303120 |
| 3 | |
| 4 | Index: proc/version.c |
| 5 | =================================================================== |
| 6 | RCS file: /cvsroot/procps/procps/proc/version.c,v |
| 7 | retrieving revision 1.7 |
| 8 | diff -u -p -r1.7 version.c |
| 9 | --- proc/version.c 9 Feb 2003 07:27:16 -0000 1.7 |
| 10 | +++ proc/version.c 14 Nov 2010 00:22:44 -0000 |
| 11 | @@ -33,7 +33,7 @@ void display_version(void) { |
| 12 | |
| 13 | int linux_version_code; |
| 14 | |
| 15 | -static void init_Linux_version(void) __attribute__((constructor)); |
| 16 | +static void init_Linux_version(void) __attribute__((constructor(100))); |
| 17 | static void init_Linux_version(void) { |
| 18 | static struct utsname uts; |
| 19 | int x = 0, y = 0, z = 0; /* cleared in case sscanf() < 3 */ |