Changeset 3621 in MondoRescue for branches/3.3/mindi-busybox/procps/iostat.c
- Timestamp:
- Dec 20, 2016, 4:07:32 PM (7 years ago)
- Location:
- branches/3.3
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/mindi-busybox/procps/iostat.c
r3232 r3621 110 110 }; 111 111 112 static ALWAYS_INLINE unsigned get_user_hz(void)113 {114 return sysconf(_SC_CLK_TCK);115 }116 117 112 static ALWAYS_INLINE int this_is_smp(void) 118 113 { … … 148 143 /* %X: time representation for the current locale */ 149 144 strftime(buf, sizeof(buf), "%x %X", &G.tmtime); 150 p rintf("%s\n",buf);145 puts(buf); 151 146 } 152 147 … … 415 410 416 411 /* Get number of clock ticks per sec */ 417 G.clk_tck = get_user_hz();412 G.clk_tck = bb_clk_tck(); 418 413 419 414 /* Determine number of CPUs */
Note:
See TracChangeset
for help on using the changeset viewer.