this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fixing pointer issues

+3 -3
+3 -3
src/kernel/emulation/linux/misc/sysctl_machdep.c
··· 60 60 #endif 61 61 62 62 63 - static inline void copyout_int(int value, char* to_copy, size_t to_copy_length) 63 + static inline void copyout_int(int value, char* to_copy, size_t* to_copy_length) 64 64 { 65 65 char tmp[64]; 66 66 __simple_sprintf(tmp, "%d", value); ··· 202 202 if(i == 10 || i == 20) 203 203 continue; 204 204 205 - if(edx>>i&1 && counter < oldlen) 205 + if(edx>>i&1 && counter < *oldlen) 206 206 { 207 207 int len = __simple_strlen(features[i]); 208 208 ··· 210 210 211 211 counter = counter + len; 212 212 213 - if(counter < oldlen) 213 + if(counter < *oldlen) 214 214 { 215 215 216 216 old[counter] = ' ';