Changeset 3621 in MondoRescue for branches/3.3/mindi-busybox/init/halt.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/init/halt.c
r3232 r3621 75 75 static void write_wtmp(void) 76 76 { 77 struct utmp utmp;77 struct utmpx utmp; 78 78 struct utsname uts; 79 79 /* "man utmp" says wtmp file should *not* be created automagically */ … … 89 89 uname(&uts); 90 90 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); 92 92 } 93 93 #else … … 136 136 //TODO: I tend to think that signalling linuxrc is wrong 137 137 // pity original author didn't comment on it... 138 if (ENABLE_ FEATURE_INITRD) {138 if (ENABLE_LINUXRC) { 139 139 /* talk to linuxrc */ 140 140 /* bbox init/linuxrc assumed */
Note:
See TracChangeset
for help on using the changeset viewer.