Changeset 3621 in MondoRescue for branches/3.3/mindi-busybox/init/halt.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/init/halt.c

    r3232 r3621  
    7575static void write_wtmp(void)
    7676{
    77     struct utmp utmp;
     77    struct utmpx utmp;
    7878    struct utsname uts;
    7979    /* "man utmp" says wtmp file should *not* be created automagically */
     
    8989    uname(&uts);
    9090    safe_strncpy(utmp.ut_host, uts.release, sizeof(utmp.ut_host));
    91     updwtmp(bb_path_wtmp_file, &utmp);
     91    updwtmpx(bb_path_wtmp_file, &utmp);
    9292}
    9393#else
     
    136136//TODO: I tend to think that signalling linuxrc is wrong
    137137// pity original author didn't comment on it...
    138         if (ENABLE_FEATURE_INITRD) {
     138        if (ENABLE_LINUXRC) {
    139139            /* talk to linuxrc */
    140140            /* bbox init/linuxrc assumed */
Note: See TracChangeset for help on using the changeset viewer.