Changeset 3621 in MondoRescue for branches/3.3/mindi-busybox/procps/iostat.c


Ignore:
Timestamp:
Dec 20, 2016, 4:07:32 PM (7 years ago)
Author:
Bruno Cornec
Message:

New 3?3 banch for incorporation of latest busybox 1.25. Changing minor version to handle potential incompatibilities.

Location:
branches/3.3
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/3.3/mindi-busybox/procps/iostat.c

    r3232 r3621  
    110110};
    111111
    112 static ALWAYS_INLINE unsigned get_user_hz(void)
    113 {
    114     return sysconf(_SC_CLK_TCK);
    115 }
    116 
    117112static ALWAYS_INLINE int this_is_smp(void)
    118113{
     
    148143    /* %X: time representation for the current locale */
    149144    strftime(buf, sizeof(buf), "%x %X", &G.tmtime);
    150     printf("%s\n", buf);
     145    puts(buf);
    151146}
    152147
     
    415410
    416411    /* Get number of clock ticks per sec */
    417     G.clk_tck = get_user_hz();
     412    G.clk_tck = bb_clk_tck();
    418413
    419414    /* Determine number of CPUs */
Note: See TracChangeset for help on using the changeset viewer.