Ignore:
Timestamp:
Jan 1, 2014, 12:47:38 AM (7 years ago)
Author:
Bruno Cornec
Message:
  • Update mindi-busybox to 1.21.1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi-busybox/miscutils/last_fancy.c

    r2725 r3232  
    99
    1010#include "libbb.h"
    11 #include <utmp.h>
    1211
    1312/* NB: ut_name and ut_user are the same field, use only one name (ut_user)
     
    9594
    9695    printf(HEADER_FORMAT,
    97            ut->ut_user,
    98            ut->ut_line,
    99            show_wide ? INET6_ADDRSTRLEN : INET_ADDRSTRLEN,
    100            show_wide ? INET6_ADDRSTRLEN : INET_ADDRSTRLEN,
    101            ut->ut_host,
    102            login_time,
    103            logout_str,
    104            duration_str);
     96        ut->ut_user,
     97        ut->ut_line,
     98        show_wide ? INET6_ADDRSTRLEN : INET_ADDRSTRLEN,
     99        show_wide ? INET6_ADDRSTRLEN : INET_ADDRSTRLEN,
     100        ut->ut_host,
     101        login_time,
     102        logout_str,
     103        duration_str);
    105104}
    106105
     
    163162    time_t down_time;
    164163    int file;
    165     unsigned opt;
    166164    smallint going_down;
    167165    smallint boot_down;
    168166
    169     opt = getopt32(argv, "Wf:" /* "H" */, &filename);
     167    /*opt =*/ getopt32(argv, "Wf:" /* "H" */, &filename);
    170168#ifdef BUT_UTIL_LINUX_LAST_HAS_NO_SUCH_OPT
    171169    if (opt & LAST_OPT_H) {
Note: See TracChangeset for help on using the changeset viewer.