Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/procps/powertop.c
- Timestamp:
- Jan 1, 2014, 12:47:38 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi-busybox/procps/powertop.c
r2725 r3232 10 10 */ 11 11 12 //applet:IF_POWERTOP(APPLET(powertop, _BB_DIR_BIN, _BB_SUID_DROP))12 //applet:IF_POWERTOP(APPLET(powertop, BB_DIR_USR_SBIN, BB_SUID_DROP)) 13 13 14 14 //kbuild:lib-$(CONFIG_POWERTOP) += powertop.o … … 394 394 char line[15 + 3 + 128]; 395 395 int n; 396 ullong totalticks;397 396 FILE *fp; 398 397 399 398 buf[0] = '\0'; 400 totalticks = 0;401 399 402 400 n = 0; … … 496 494 */ 497 495 static void cpuid(unsigned int *eax, unsigned int *ebx, unsigned int *ecx, 498 496 unsigned int *edx) 499 497 { 500 498 /* EAX value specifies what information to return */ … … 653 651 bb_putchar('\n'); 654 652 bb_error_msg("no stats available; run as root or" 655 " enable the cpufreq_stats module");653 " enable the timer_stats module"); 656 654 } 657 655 }
Note:
See TracChangeset
for help on using the changeset viewer.