Changeset 2107
- Timestamp:
- 11/29/03 14:28:54 (10 years ago)
- Files:
-
- 1 modified
-
lm-sensors/trunk/lib/proc.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/lib/proc.c
r2092 r2107 19 19 20 20 #include <stddef.h> 21 #ifdef DEBUG 22 #include <unistd.h> /* for getuid(), to be removed */ 23 #endif 21 24 #include <stdio.h> 22 25 #include <string.h> … … 359 362 * ((long *) (buf + the_feature->offset)) = (long) value; 360 363 buflen = the_feature->offset + sizeof(long); 364 #ifdef DEBUG 365 /* The following get* calls don't do anything, they are here 366 for debugging purposes only. Strace will show the 367 returned values. */ 368 getuid(); geteuid(); 369 getgid(); getegid(); 370 #endif 361 371 if (sysctl(sysctl_name, 4, NULL, 0, buf, buflen)) 362 372 return -SENSORS_ERR_PROC;
